Skip to content

Template for getting started with a new Go repository

License

Notifications You must be signed in to change notification settings

paolofacchinetti/go-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-template • CI

Template for getting started with a Go repository.

To get started, launch go mod init github.com/<your-account>/<your-repo-url>

Build

Build for current OS with go build

Build for Linux from Windows with:

  • $Env:GOOS = "linux"; $Env:GOARCH = "amd64"
  • go build

Release

before releasing, always update the version inside the CI/CD config file .github/workflows/release.yaml ("tag" field) to the release version of your choice.

To release a new version, simply merge into the main branch, the CI/CD will take care of creating a new tag and release on GitHub.

About

Template for getting started with a new Go repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published