{"id":25158433,"url":"https://github.com/zt-9/go-template","last_synced_at":"2025-04-03T12:42:23.293Z","repository":{"id":211352042,"uuid":"728437627","full_name":"zt-9/go-template","owner":"zt-9","description":"a go template based on flashbots/go-template","archived":false,"fork":false,"pushed_at":"2023-12-07T23:08:20.000Z","size":1399,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T01:51:41.617Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zt-9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-07T00:04:08.000Z","updated_at":"2023-12-07T23:09:01.000Z","dependencies_parsed_at":"2023-12-08T01:25:06.303Z","dependency_job_id":"4bde871f-78ee-4f75-b24f-a346bcd5d4a3","html_url":"https://github.com/zt-9/go-template","commit_stats":null,"previous_names":["zoey-t/go-template","zt-9/go-template"],"tags_count":0,"template":true,"template_full_name":"flashbots/go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt-9%2Fgo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt-9%2Fgo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt-9%2Fgo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zt-9%2Fgo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zt-9","download_url":"https://codeload.github.com/zt-9/go-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247005377,"owners_count":20868019,"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":[],"created_at":"2025-02-09T01:51:44.447Z","updated_at":"2025-04-03T12:42:23.265Z","avatar_url":"https://github.com/zt-9.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-template\n\n[![Goreport status](https://goreportcard.com/badge/github.com/flashbots/go-template)](https://goreportcard.com/report/github.com/flashbots/go-template)\n[![Test status](https://github.com/flashbots/go-template/workflows/Checks/badge.svg?branch=main)](https://github.com/flashbots/go-template/actions?query=workflow%3A%22Checks%22)\n\nToolbox for new Go projects!\n\n* [`Makefile`](https://github.com/flashbots/go-template/blob/main/Makefile) with `lint`, `test`, `build`, `fmt` and more\n* Linting with `gofmt`, `gofumpt`, `go vet`, `staticcheck` and `golangci-lint`\n* Logging setup using the Zap logger (with debug and json logging options)\n* [GitHub Workflows](.github/workflows/) for linting and testing, as well as releasing and publishing Docker images\n\nPick and choose whatever is useful to you! Don't feel the need to use everything, or even to follow this structure.\n\n---\n\n## Getting started\n\n**Build CLI**\n\n```bash\nmake build-cli\n```\n\n**Install dev dependencies**\n\n```bash\ngo install mvdan.cc/gofumpt@latest\ngo install honnef.co/go/tools/cmd/staticcheck@latest\ngo install github.com/golangci/golangci-lint/cmd/golangci-lint@latest\ngo install github.com/daixiang0/gci@latest\n```\nif it has errors like `No such file or directory` when running packages installed via `go install`\n1. open `~/.bash_profile` or `~/.zshrc` and edit it\n\t```bash\n\tcode `~/.bash_profile`\n\t# or\n\tcode `~/.zshrc`\n\t```\n2. add `export PATH=$PATH:$(go env GOPATH)/bin` to the file\n\n**Lint, test, format**\n\n```bash\nmake lint\nmake test\nmake fmt\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzt-9%2Fgo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzt-9%2Fgo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzt-9%2Fgo-template/lists"}