Skip to content

wlbr/commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons

These are my very own tools for Go that I use regularly for most of my little command line tools.

You don't need that.

CSV

LOG

Config

A basic config struct that gives you some flags and some info. Logging is established.

###Debugging info ...

Flags

-logcolour Use coloured logging (switch off when redirecting log output). (default true) -logfile string Sets the name of the logfile. Uses STDOUT if empty. -loglevel string Determines logging verbosity. [All|Info|Debug|Warn|Error|Fatal|Off]. (default "Warn") -version Show version info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published