Skip to content

CodelyTV/golang-examples

Repository files navigation

CodelyTV and Friends of Go Present: Go Command Line Tool

Project showing up how you could implement a entire command line application with GO.

With this project you will be capable of implementing an application with Go. For this project you don't need previous experience on the language, but you do need a minimal background as a developer.

We will explain all the features that go with it including the famous goroutines.

Contents

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).

Environment setup

See the environment setup instructions below.

Requirements

To compile & run the source code of this project you just need to have Go properly installed.

Installation

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.

About

Introductory examples to Go programming language used in the CodelyTV Pro course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages