Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kybernetwork/go-project-template

template for a golang project
https://github.com/kybernetwork/go-project-template

Last synced: about 1 month ago
JSON representation

template for a golang project

Awesome Lists containing this project

README

        

## This is a template repository for golang project

### Usage
1. Go to github: https://github.com/KyberNetwork/go-project-template
2. Click use this template
3. Create a new repository with the template
4. Rename package in `go.mod`
5. Update db name in docker-compose.yml (docker-compose is optional)
6. Update const `pkg/app/postgresql.go`
7. Update db name in `.github/workflows/ci.yaml`
8. Run local `golangci-lint` :
`golangci-lint run --config=.golangci.yml ./...`
9. Update dockerfile under `./docker-files/Dockerfile.service-name` and add more dockerfiile if needed