Skip to content

adibsaad/golang-min-project-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Minimal Project Starter

This repository can be used as a starting point for new Golang projects.

Features

  • Viper/Cobra (for CLI and Configuration)
  • Zerolog (logging)

How-to-use

  • The default name of the module is my-app, so you'll want to change all references to it in the code first.

  • The settings configuration struct is located under internal/settings. It reads in values from Viper through the config file (if supplied) or environment variables, prefixed with the value of EnvPrefix. Customize the settings struct to fit your needs

Credits

The code to set up the configuration struct was taken from the MottainaiCI project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages