The purpose of this repository is to explore patterns for the following requirements:
- Create installable application that runs from command line, i.e. create a main() function
- Leverage global const and var declarations
- Use an init() function to initialize program
- Setup/include basic logging that:
- Writes to a log file
- Also writes to the console
- Use the "flag" package for command line arguments
- Launch a command that calls another shell script
- Send the output to the Logger
- Extract functionality into funcs that main() calls
go get github.com/aquacode/gopoc
go install
gopoc