{"id":51786,"library":"go-playground-form-v4","title":"Form","description":"Package form decodes url.Values into Go value(s) and encodes Go value(s) into url.Values.","status":"active","version":"4.2.1","language":"go","source_language":null,"source_url":"https://github.com/go-playground/form","tags":["form","decoding","encoding","url-values","struct"],"install":[{"cmd":"go get github.com/go-playground/form/v4","lang":"bash","label":"Install github.com/go-playground/form/v4"}],"dependencies":[],"imports":[{"symbol":"form","correct":"github.com/go-playground/form/v4"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/url\"\n\t\"github.com/go-playground/form/v4\"\n)\n\ntype Person struct {\n\tName string `form:\"name\"`\n\tAge  int    `form:\"age\"`\n}\n\nfunc main() {\n\tvalues := url.Values{\"name\": {\"Alice\"}, \"age\": {\"30\"}}\n\tvar p Person\n\tdecoder := form.NewDecoder()\n\tdecoder.Decode(&p, values)\n\tfmt.Println(p)\n}","lang":"go","description":"Decode URL values into a struct."},"warnings":[],"env_vars":null,"search_vec":"'decod':4,18 'encod':11,19 'form':1,3,17 'go':7,12 'packag':2 'struct':23 'url':21 'url-valu':20 'url.values':5,16 'valu':8,13,22","created_at":"2026-06-15T06:29:49.731548+00:00","updated_at":"2026-06-15T06:29:49.731548+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-playground/form","github":"https://github.com/go-playground/form","docs":"https://pkg.go.dev/github.com/go-playground/form/v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}