{"id":41921213,"url":"https://github.com/things-go/dyn","last_synced_at":"2026-01-25T16:41:30.976Z","repository":{"id":37747223,"uuid":"449978680","full_name":"things-go/dyn","owner":"things-go","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T11:58:25.000Z","size":883,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-05-22T12:56:23.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/things-go.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-20T06:19:11.000Z","updated_at":"2024-05-30T14:16:16.221Z","dependencies_parsed_at":"2023-10-12T15:15:24.692Z","dependency_job_id":"6745af20-98f0-417f-8003-f521965d22fa","html_url":"https://github.com/things-go/dyn","commit_stats":null,"previous_names":["things-go/ginp"],"tags_count":31,"template":false,"template_full_name":"things-labs/cicd-go-template","purl":"pkg:github/things-go/dyn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fdyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fdyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fdyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fdyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/things-go","download_url":"https://codeload.github.com/things-go/dyn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/things-go%2Fdyn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"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":[],"created_at":"2026-01-25T16:41:30.287Z","updated_at":"2026-01-25T16:41:30.970Z","avatar_url":"https://github.com/things-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dyn\n\ndyn project toolkit for gin\n\n[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/things-go/dyn?tab=doc)\n[![codecov](https://codecov.io/gh/things-go/dyn/branch/main/graph/badge.svg)](https://codecov.io/gh/things-go/dyn)\n[![Tests](https://github.com/things-go/dyn/actions/workflows/ci.yml/badge.svg)](https://github.com/things-go/dyn/actions/workflows/ci.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/things-go/dyn)](https://goreportcard.com/report/github.com/things-go/dyn)\n[![License](https://img.shields.io/github/license/things-go/dyn)](https://raw.githubusercontent.com/things-go/dyn/main/LICENSE)\n[![Tag](https://img.shields.io/github/v/tag/things-go/dyn)](https://github.com/things-go/dyn/tags)\n\n## Usage\n\n`dyn`是一个`gin`,`protobuf`工程以及代码工具生成器.\n\n- `proto-gen-dyn-gin` 从 `proto` 的生成`gin`的代码.\n  ***注意***: 当使用`proto-gen-go-gin`要禁用`gin`自带的`binding`,使用`gin.DisableBindValidation()` 接口\n- `proto-gen-dyn-resty` 从 `proto` 的生成`resty`的代码.\n- `proto-gen-dyn-enum` 从 `proto` 的生成`enum`的代码.\n- `errno-gen` 从枚举生成统一错误\n- `dyngen` 简化工程模板生成\n  \n### Installation\n\nUse go get.\n\n```bash\n    go get github.com/things-go/dyn\n```\n\nThen import the package into your own code.\n\n```bash\n    import \"github.com/things-go/dyn\"\n```\n\n### Example\n\n[embedmd]:# (_examples/main.go go)\n```go\n\n```\n\n## References\n\n## License\n\nThis project is under MIT License. See the [LICENSE](LICENSE) file for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthings-go%2Fdyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthings-go%2Fdyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthings-go%2Fdyn/lists"}