Skip to content
/ config Public

DEPRECATED: Simple file based configuration for go

License

Notifications You must be signed in to change notification settings

aamcrae/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This utility is deprecated in favour of YAML based configuration files.

config

Simple file based configuration for go programs.

An example of the configuration file syntax is:

# Global keywords
keyword1=argument1,argument2
another=arg3
# Different sections can be added
[section1]
# This keyword is separate from the first one.
keyword1=different-arg
[section2]
my-keyword=my-argument

Different modules can retrieve the keywords related to selected sections.

TODO

  • Add smarter parsing for integers etc.
  • Add validation of keywords so that unknown keywords are flagged.

This is not an officially supported Google product.

About

DEPRECATED: Simple file based configuration for go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages