Command Line Progamming

By Gopher Guides

This course will cover the basic pieces of command line programming such as reading and writing IO, parsing arguments, creating interactive cli's, and more.

In this course, we will cover some basic fundamentals of creating a command line program.

  • Reading arguments
  • Using the flags package to bind arguments to variables
  • Using FlagSets
  • Getting Help
  • Getting Input
  • Simple exercise recreating a basic "cat" program

Featured Workshops

Go Fundamentals: Syntax, Types, Slices/Maps, Pointers, and Functions

In this first installment of Go Fundamentals, you will learn the basic building blocks of the language, and how to put them together. Learn the idiomatic way to write go and common mistakes and pitfalls that developers new to the language should know. Each attendee will receive a link 24 hours prior to the start of the workshop with links to all class material. Additionally, each attendee will receive a link after the workshop to the recording of the workshop as well.

Register Now

Go Fundamentals: Interfaces, Embedding & Composition, and Concurrency

In this second installment of Go Fundamentals, you will learn the powerful concept of Interfaces, Embedding and Composition. From there, take a tour around Go's elegant implementation of concurrency. Learn the idiomatic way to write go and common mistakes and pitfalls that developers new to the language should know. Each attendee will receive a link 24 hours prior to the start of the workshop with links to all class material. Additionally, each attendee will receive a link after the workshop to the recording of the workshop as well.

Register Now

Introduction to Protocol Buffers and gRPC with Go

Creating and scaling microservice via a distributed system is a complex and challenging effort. Protocol Buffers (Protobuf) and gRPC can quickly simplify this challenge, by easily defining your messages and services with Protobuf. These are small, simple, and fast data structures. Protobuf ships with idiomatic libraries written for most of the popular languages and platforms. With gRPC, you can start quickly, and scale to millions of RPC’s per second with ease. It also supports bi-directional streaming, integrated auth, tracing, load balancing, and more. In a nutshell, if you are embarking on a new system, or looking to extend an existing one, gRPC will allow you to accomplish that in small, manageable steps that will ensure a future system that is robust, fast, and scalable. By the end of this course, you’ll be able to create basic protocol buffer messages, design simple gRPC services and understand how to properly handle successful and unsuccessful rpc calls. Each attendee will receive a link 24 hours prior to the start of the workshop with links to all class material. Additionally, each attendee will receive a link after the workshop to the recording of the workshop as well.

Register Now