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

https://github.com/ad/template-golang


https://github.com/ad/template-golang

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# template for golang projects

[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/ad/template-golang.svg)](https://github.com/ad/template-golang)
![Build and Test](https://github.com/ad/template-golang/actions/workflows/go.yml/badge.svg?branch=main)
[![Go Report Card](https://goreportcard.com/badge/github.com/ad/template-golang)](https://goreportcard.com/report/github.com/ad/template-golang)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/ad/template-golang)

1. edit go.mod, change module name `github.com/ad/template-golang`
2. edit main.go and main_test.go, change module name `github.com/ad/template-golang`
3. edit Makefile, change image name: `IMG = github.com/ad/template-golang` and tag: `TAG = latest`
4. run `make dev`