Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zeiss/template-go

A tiny template to start Go projects
https://github.com/zeiss/template-go

Last synced: 4 days ago
JSON representation

A tiny template to start Go projects

Awesome Lists containing this project

README

        

# :partying_face: Template Go

> This is a GitHub Template Repository. You can use the green button to create a new repository based on this template. Read more about [GitHub Template Repositories](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template).

## Get Started

This template supports `Makefile` to run tooling.

> `make` is choosen as it is available on most systems.

```bash
# show `help`
make help
```

Other available targets are

```bash
build Build the binary file.
clean Remove previous build.
fmt Run go fmt against code.
generate Generate code.
help Display this help screen.
lint Run lint.
mocks Generate mocks.
release Release the project.
test Run tests.
vet Run go vet against code.
```

The convention is to use `make` to run the build.

Happy coding!