ks6088ts / template-go

A GitHub template repository for Go

Home Page:https://hub.docker.com/repository/docker/ks6088ts/template-go/tags?page=1&ordering=last_updated

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test release Go Report Card Go Reference

docker docker-release

template-go

A GitHub template repository for Go

Prerequisites

Development instructions

Local development

Use Makefile to run the project locally.

# help
make

# install dependencies for development
make install-deps-dev

# run tests
make test

# build applications
make build

# run CI tests
make ci-test

# release applications
make release

Docker development

# build docker image
make docker-build

# run docker container
make docker-run

# run CI tests in docker container
make ci-test-docker

To publish the docker image to Docker Hub, you need to set the following secrets in the repository settings.

gh secret set DOCKERHUB_USERNAME --body $DOCKERHUB_USERNAME
gh secret set DOCKERHUB_TOKEN --body $DOCKERHUB_TOKEN

About

A GitHub template repository for Go

https://hub.docker.com/repository/docker/ks6088ts/template-go/tags?page=1&ordering=last_updated

License:MIT License


Languages

Language:Go 77.5%Language:Makefile 20.8%Language:Dockerfile 1.7%