{"id":36651304,"url":"https://github.com/ffelipelimao/gobuilder","last_synced_at":"2026-01-12T10:07:34.730Z","repository":{"id":62916512,"uuid":"562280047","full_name":"ffelipelimao/gobuilder","owner":"ffelipelimao","description":"A Go (golang) library for create files.","archived":false,"fork":false,"pushed_at":"2022-11-22T02:13:10.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T09:39:22.704Z","etag":null,"topics":["builder-design-pattern","go","golang-library"],"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/ffelipelimao.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":"2022-11-05T21:05:27.000Z","updated_at":"2022-12-14T15:47:41.000Z","dependencies_parsed_at":"2022-11-09T04:01:12.801Z","dependency_job_id":null,"html_url":"https://github.com/ffelipelimao/gobuilder","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ffelipelimao/gobuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffelipelimao%2Fgobuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffelipelimao%2Fgobuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffelipelimao%2Fgobuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffelipelimao%2Fgobuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffelipelimao","download_url":"https://codeload.github.com/ffelipelimao/gobuilder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffelipelimao%2Fgobuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["builder-design-pattern","go","golang-library"],"created_at":"2026-01-12T10:07:32.684Z","updated_at":"2026-01-12T10:07:34.718Z","avatar_url":"https://github.com/ffelipelimao.png","language":"Go","readme":"# Generate builders for Go\n\n[![GoDoc](https://pkg.go.dev/badge/github.com/ffelipelimao/gobuilder)](https://pkg.go.dev/github.com/ffelipelimao/gobuilder)\n\ngobuilder is a library for create files,\nat this moment we are creating only from the design pattern Builder.\n\n[Builder Design Pattern](https://refactoring.guru/design-patterns/builder)\n\n\n\n## Installation\n```\n$ go install github.com/ffelipelimao/gobuilder@latest\n```\n\n## Usage\n\n\n##### Create a builder file\n```bash\ngobuilder gen -n=Test -f=Foo-string,Bar-string\n```\n\n##### Command Line syntax flag\n\n- **-n** : Create a name to your mock builder struct ex: -n=Test \n\n- **-f** : Create a name the fields to your struct\n     the fields are separated by \",\" for you to define a type for your field, you separate it by \"-\"\n     ex: -f=Foo-string,Bar-string\n    in this case Foo is the field and string is the type of this field\n\n- **-d** : Create the destination folder, he need start with ./ \n    \n\n## Examples\n\n```bash\ngobuilder gen -n=Test -f=Foo-string,Bar-string\n```\n\nWith Pointer: use letter p\n\n```bash\ngobuilder gen -n=Test -f=Foo-pstring,Bar-string\n```\n\nWith Array: use letter a\n\n```bash\ngobuilder gen -n=Test -f=Foo-astring,Bar-string\n```\n\n## Help commands\n\n```bash\ngobuilder -h\n```\nor\n\n```bash\ngobuilder gen -h\n```\n\n## Issues and Contributing\n\nIf you find an issue with this library, please report an issue. If you'd\nlike, we welcome any contributions. Fork this library and submit a pull\nrequest.\n\nVersions used with gobuilder must follow [SemVer](http://semver.org/).\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffelipelimao%2Fgobuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffelipelimao%2Fgobuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffelipelimao%2Fgobuilder/lists"}