{"id":20200647,"url":"https://github.com/haormj/code-generator","last_synced_at":"2026-06-08T17:31:06.337Z","repository":{"id":65331949,"uuid":"589521371","full_name":"haormj/code-generator","owner":"haormj","description":"基于go实现的代码/文本生成器，这样可以省下人写很多内容","archived":false,"fork":false,"pushed_at":"2023-01-19T10:37:56.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T08:45:39.733Z","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/haormj.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":"2023-01-16T10:13:30.000Z","updated_at":"2023-01-19T10:38:19.000Z","dependencies_parsed_at":"2023-02-10T22:30:39.847Z","dependency_job_id":null,"html_url":"https://github.com/haormj/code-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/haormj/code-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haormj%2Fcode-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haormj%2Fcode-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haormj%2Fcode-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haormj%2Fcode-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haormj","download_url":"https://codeload.github.com/haormj/code-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haormj%2Fcode-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34073642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-14T04:44:56.724Z","updated_at":"2026-06-08T17:31:06.317Z","avatar_url":"https://github.com/haormj.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## code-generator\n\n### 概述\n\n基于golang text/template 包实现模板生成器，简化人为操作\n\n### 安装\n\n```\ngo install github.com/haormj/code-generator@latest\n```\n\n### 使用\n\n- cd /path/to/dir\n- code-generator init\n- write some template, ref\n    - https://masterminds.github.io/sprig\n    - https://pkg.go.dev/text/template\n- code-generator generate ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaormj%2Fcode-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaormj%2Fcode-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaormj%2Fcode-generator/lists"}