{"id":13414135,"url":"https://github.com/go-playground/generate","last_synced_at":"2025-05-05T17:31:49.408Z","repository":{"id":57481692,"uuid":"46200033","full_name":"go-playground/generate","owner":"go-playground","description":":runner:runs go generate recursively on a specified path or environment variable and can filter by regex","archived":false,"fork":false,"pushed_at":"2017-01-10T00:20:55.000Z","size":9,"stargazers_count":30,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-25T05:25:31.640Z","etag":null,"topics":["generate"],"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/go-playground.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":"2015-11-15T01:52:04.000Z","updated_at":"2023-10-03T00:25:15.000Z","dependencies_parsed_at":"2022-09-26T17:50:34.120Z","dependency_job_id":null,"html_url":"https://github.com/go-playground/generate","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Fgenerate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Fgenerate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Fgenerate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Fgenerate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-playground","download_url":"https://codeload.github.com/go-playground/generate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542259,"owners_count":21764934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["generate"],"created_at":"2024-07-30T20:01:58.779Z","updated_at":"2025-05-05T17:31:49.203Z","avatar_url":"https://github.com/go-playground.png","language":"Go","readme":"Package generate\n================\n\n[![Build Status](https://semaphoreci.com/api/v1/projects/fb48dccf-14ed-4561-b29f-8c6f5711cca5/606486/badge.svg)](https://semaphoreci.com/joeybloggs/generate)\n[![Go Report Card](http://goreportcard.com/badge/go-playground/generate)](http://goreportcard.com/report/go-playground/generate)\n[![GoDoc](https://godoc.org/github.com/go-playground/generate?status.svg)](https://godoc.org/github.com/go-playground/generate)\n\nPackage generate runs go generate recursively on a specified path or environment \nvariable like $GOPATH and can filter by regex\n\n#### Why would I use it?\n\nWhen ready to compile your application, you may need to do a bunch of setup, \nrun some scripts or even embed static resources and instead of programming\nthat all into a build script just add all that into //go:generate statements\nthen run this to recursively go through and run all the setup for you.\n\n#### Why was it created?\n\nTo be the best friend of [https://github.com/go-playground/statics](https://github.com/go-playground/statics) which \nautomatically embeds the go:generate statement that embeds the static \nresources, but it could be used for anything.\n\nInstallation\n------------\nUse go get.\n\n\tgo get github.com/go-playground/generate\n\nor to update\n\n\tgo get -u github.com/go-playground/generate\n\nThen import the generate package into your own code.\n\n\timport \"github.com/go-playground/generate\"\n\nUsage and documentation\n------\n\nPlease see https://godoc.org/github.com/go-playground/generate for detailed usage docs.\n\n#### Example Usage\n* NOTE: this would be from a bash prompt, hence the escaping\n\ngenerate -i=$GOPATH -ignore=/\\\\. -match=/github.com/MyOrganizationOrUser \n\nrun generate -h for all options\n\nLicense\n------\nDistributed under MIT License, please see license file in code for more details.\n","funding_links":[],"categories":["Utilities","Utility","工具库`可以提升效率的通用代码库和工具`","公用事业公司","实用工具","工具库"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","Advanced Console UIs","查询语","实用程序/Miscellaneous","Fail injection","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-playground%2Fgenerate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-playground%2Fgenerate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-playground%2Fgenerate/lists"}