Skip to content

A sample Go application that reads a TOML config file using Viper

Notifications You must be signed in to change notification settings

karloespiritu/go-config-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sample Go Application using TOML and Viper

This is the code example I used in my blog post - "Handling Configuration Files in Go". This is a sample Go application that reads a TOML configuration file using Viper.

Setup

  1. Setup Go Workspace
  2. Run Application
$ cd go-config-example
$ go run main.go

About

A sample Go application that reads a TOML config file using Viper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages