{"id":18009586,"url":"https://github.com/thedanielforum/typed-form","last_synced_at":"2026-04-26T12:32:15.807Z","repository":{"id":57606826,"uuid":"128036074","full_name":"thedanielforum/typed-form","owner":"thedanielforum","description":"Typed form parser for gin-gonic","archived":false,"fork":false,"pushed_at":"2018-05-24T12:44:35.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T12:51:12.441Z","etag":null,"topics":["gin","gin-gonic","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thedanielforum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-04T08:59:40.000Z","updated_at":"2020-08-20T01:46:37.000Z","dependencies_parsed_at":"2022-08-30T00:00:50.619Z","dependency_job_id":null,"html_url":"https://github.com/thedanielforum/typed-form","commit_stats":null,"previous_names":["thedanielforum/parsed-form","thedanielforum/parsedform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thedanielforum/typed-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedanielforum%2Ftyped-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedanielforum%2Ftyped-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedanielforum%2Ftyped-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedanielforum%2Ftyped-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedanielforum","download_url":"https://codeload.github.com/thedanielforum/typed-form/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedanielforum%2Ftyped-form/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gin","gin-gonic","go","golang"],"created_at":"2024-10-30T02:09:50.453Z","updated_at":"2026-04-26T12:32:15.789Z","avatar_url":"https://github.com/thedanielforum.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typed-form\n\n[![GoDoc](https://godoc.org/github.com/thedanielforum/typed-form?status.svg)](https://godoc.org/github.com/thedanielforum/typed-form) [![CircleCI](https://circleci.com/gh/thedanielforum/typed-form.svg?style=svg)](https://circleci.com/gh/thedanielforum/typed-form)\n\n## How to use\n```go\nimport form \"github.com/thedanielforum/typed-form\"\n\n// c is the gin context\nform := form.Parse(c)\ns := service.GetData(\n\tform.GetParamInt64(\"id\"),\n\tform.GetString(\"name\"),\n)\nif form.Errors() != nil {\n\terr := form.Errors()[0]\n\tc.JSON(http.StatusBadRequest, b.errorMsg(c, err.Error()))\n\treturn\n}\n```\n\n## Avalible Get's\n```go\nform := form.Parse(gin.Context)\n\n// Get post form data\nform.GetString(\"key\")\nform.GetInt(\"key\")\nform.GetInt8(\"key\")\nform.GetInt16(\"key\")\nform.GetInt32(\"key\")\nform.GetInt64(\"key\")\n\n// Get url param\nform.GetParamString(\"key\")\nform.GetParamInt(\"key\")\nform.GetParamInt8(\"key\")\nform.GetParamInt16(\"key\")\nform.GetParamInt32(\"key\")\nform.GetParamInt64(\"key\")\n\n// Get query param\nform.GetQueryString(\"key\")\nform.GetQueryInt(\"key\")\nform.GetQueryInt8(\"key\")\nform.GetQueryInt16(\"key\")\nform.GetQueryInt32(\"key\")\nform.GetQueryInt64(\"key\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedanielforum%2Ftyped-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedanielforum%2Ftyped-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedanielforum%2Ftyped-form/lists"}