Skip to content

Template repo for go projects following the Standard Layout with support for development in container, Github Actions (Go, Docker and Helm with AKS) and Go Modules

License

filariow/go-std-tmpl

Repository files navigation

Template Go Standard

Go Go Report Card Docker Image CI

Template project based on the Standard Go Project Layout.

It's enriched with the following supports:

  • Go Modules
  • Visual Studio Code's Remote-Containers
  • Github Actions for Go, Docker and Helm on AKS
  • Dockerfile for a Release and Distroless build
  • Helm and K8S manifests

Setup

Substitute in every file FrancescoIlario/go-std-tmpl with your Github path. You can use the following line of bash code substituting the fields <YOUR_GH_ACCOUNT> and <YOUR_GH_REPO>:

grep -iRl FrancescoIlario/go-std-tmpl . \
    | xargs sed -i 's/FrancescoIlario\/go-std-tmpl/<YOUR_GH_ACCOUNT>\/<YOUR_GH_REPO>/g' 

Visual Studio Code's Remote-Containers

To use this extension you have to install VSCode and its extension Remote-Containers from its marketplace.

Open the project, press F1, and look for the voice Remote-Containers: Reopen in Container...

About

Template repo for go projects following the Standard Layout with support for development in container, Github Actions (Go, Docker and Helm with AKS) and Go Modules

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published