Skip to content
/ template Public template
generated from golang-templates/seed

Go application GitHub repository template

License

Notifications You must be signed in to change notification settings

goyek/template

Repository files navigation

goyek repository template

GitHub Release Go Reference go.mod LICENSE Build Status Go Report Card Codecov

Star this repository if you find it valuable and worth maintaining.

Description

This is a GitHub repository template for a Go application that uses goyek for build automation.

It also includes:

Usage

  1. Sign up on Codecov and configure Codecov GitHub Application for all repositories.
  2. Click the Use this template button (alt. clone, fork or download this repository).
  3. Replace all occurrences of goyek/template to your_org/repo_name in all files.
  4. Update the following files:

Setup

Below you can find sample instructions on how to set up the development environment. Of course, you can use other tools like GoLand, Vim, Emacs. However, take notice that the Visual Studio Go extension is officially supported by the Go team.

  1. Install Go.
  2. Install Visual Studio Code.
  3. Install Go extension.
  4. Clone and open this repository.
  5. F1 -> Go: Install/Update Tools -> (select all) -> OK.

Build

cd build
go run .

Using convenient Bash script:

./goyek.sh

Using convenient PowerShell script:

.\goyek.ps1

Using Visual Studio Code:

F1Tasks: Run Build Task (Ctrl+Shift+B or ⇧⌘B)

Maintenance

Notable files: