{"id":49260718,"url":"https://github.com/bench/generator-go","last_synced_at":"2026-04-25T07:04:36.268Z","repository":{"id":22500766,"uuid":"25840340","full_name":"bench/generator-go","owner":"bench","description":"A Yeoman generator to scaffold a simple golang application","archived":false,"fork":false,"pushed_at":"2026-01-25T19:20:21.000Z","size":9544,"stargazers_count":48,"open_issues_count":5,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-26T01:21:38.011Z","etag":null,"topics":["golang","javascript","scaffold","yeoman"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2014-10-27T21:36:08.000Z","updated_at":"2026-01-25T19:20:24.000Z","dependencies_parsed_at":"2023-01-13T22:02:14.034Z","dependency_job_id":null,"html_url":"https://github.com/bench/generator-go","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bench/generator-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bench%2Fgenerator-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bench%2Fgenerator-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bench%2Fgenerator-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bench%2Fgenerator-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bench","download_url":"https://codeload.github.com/bench/generator-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bench%2Fgenerator-go/sbom","scorecard":{"id":231675,"data":{"date":"2025-08-11","repo":{"name":"github.com/bench/generator-go","commit":"3fc46c37edded635d6748d1009549b6ad90a71be"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T04:57:51.160Z","repository_id":22500766,"created_at":"2025-08-17T04:57:51.160Z","updated_at":"2025-08-17T04:57:51.160Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32253252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["golang","javascript","scaffold","yeoman"],"created_at":"2026-04-25T07:04:35.607Z","updated_at":"2026-04-25T07:04:36.248Z","avatar_url":"https://github.com/bench.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://codeclimate.com/github/bench/generator-go/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/b73387d211ce4f09286e/maintainability\" /\u003e\u003c/a\u003e\n\u003cp align=\"center\" style=\"margin-bottom: 20px; width: 100px; margin: auto\"\u003e\n\u003cimg src=\"https://golang.org/doc/gopher/frontpage.png\"/\u003e\n\u003c/p\u003e\n\n# A non-opinionated golang code generator\n\nA [Yeoman](http://yeoman.io) generator for the [golang](http://golang.org/) programming language.\n\n### What is golang ?\n\nSee the [Golang documentation](https://golang.org/doc/)\n\n### Why a generator ?\n\nThe Golang team defined [guidelines](https://blog.golang.org/organizing-go-code) to organize code and structure an application.\n\nThe generator builds a standard directory hierarchy complying with those guidelines.\n\n## Usage\n\n\n1. Install yeoman\n\n```\n$ npm install -g yo\n```\n\n2. Install the generator\n\n```\n$ npm install generator-go\n```\n\n3. Run the generator\n\n```\n$ yo go\n```\n\n**That's all folks !**\n\n\nThis will generate a minimalist directory hierarchy, a makefile and a .gitignore in your *$GOPATH* folder.\n\n\u003cpre\u003e\nCURRENT FOLDER\n├── go.mod\n├── hello\n│   ├── hello.go       # source file\n│   └── hello_test.go  # test file\n├── main.go            # app entrypoint\n├── Makefile           # build targets\n└── README.md\n\u003c/pre\u003e\n\nOnce built, you can run your application\n\n```\n$ make run\n```\n\nCompile sources and build binary\n\n```\n$ make install\n```\n\nRun all tests\n\n```\n$ make test\n```\n\nAnd clean up the binary\n\n```\n$ make clean\n```\n\n\n## How to contribute\n\n\n1. Fork the project\n\n2. Clone your forked project locally\n\n```\n$ git clone https://github.com/your_repo/generator-go.git\n$ cd generator-go\n```\n\n3. Modify sources\n\n4. Symlink the package folder\n\n```\n$ sudo npm link\n```\n\n5. Test your generator\n\n```\n$ yo go\n```\n\n6. Submit a pull request\n\nThis project welcomes all contributors, feel free to apply !\n\n## Dependencies\n\nThis project depends on\n\n* [golang](http://golang.org/)\n* [Yo](https://github.com/yeoman/yo) (the scaffolding tool from Yeoman)\n* [GNU make](https://www.gnu.org/software/make/manual/make.html)\n\n\n\n\u003cp align=\"center\" style=\"margin-bottom: 20px; width: 100px; margin: auto\"\u003e\n\u003cimg src=\"http://talks.golang.org/2014/go4gophers/gopherswim.jpg\"/\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbench%2Fgenerator-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbench%2Fgenerator-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbench%2Fgenerator-go/lists"}