Skip to content

rvuzov/goapp-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

goapp-config

##Easy to use config helper for golang application

###Write the code:

import ( "github.com/AlexeySpiridonov/goapp-config" )

param := config.Get("param")

###Create the config file in the config dir( ./config ):

./config/dev.conf

param: somevalue

###Run the apllication

./yourApp - run in default mode (dev.conf) ./yourApp prod - run with prod.conf

P.S. don't use other runtime arguments :(

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages