Project showing up how you could implement a entire command line application with GO.
With this project your will capable of implement an application with Go. For this project you don't need previous experience on the language, but you do need an minimal background as developer.
We will explain all the features that go with it including the famous goroutines
.
Lesson 1. Go Flags: introduction to "flags" package.
Lesson 2. Cobra: refactor from "flags" package to Cobra library.
Lesson 3. Reading files: retrieving beers from file.
Lesson 4. Modeling data: modeling our beers (structs, defined types, etc).
See the environment setup instructions below.
To compile & run the source code of this project you just need to have Go properly installed.
Binary distributions of Go are available for Linux, macOS, Windows and more.
Otherwise you can download the source code and compile it for your platform.