Write Professional Command-line Programs in Go

Gain insights into writing professional command-line programs in Go. Delve into structuring Go programs, writing idiomatic code, testing effectively, and impressing users and managers.

Intermediate

63 Lessons

28h 30min

Certificate of Completion

Gain insights into writing professional command-line programs in Go. Delve into structuring Go programs, writing idiomatic code, testing effectively, and impressing users and managers.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

64 Playgrounds
24 Quizzes

This course includes

64 Playgrounds
24 Quizzes

Course Overview

In this course you will learn why Go is an awesome language for writing command-line programs. You will learn how to structure your Go programs, how to write idiomatic Go code, how to test your programs and how to amaze your users, peers and managers. The focus is on command-line programs in order to keep the course down to earth, but most of the principles and best practices you will learn apply to any Go program.

Course Content

1.

Overview

Learn how to use Go to build versatile and efficient command-line programs.
2.

Restructuring multi-git

Unpack the core of restructuring multi-git for better code organization and collaboration.
3.

Testing 1,2,3...

Examine Go's testing capabilities, tools like Ginkgo and Gomega, and comprehensive e2e testing.
4.

Adding Smart Command-Line Parsing

Grasp the fundamentals of using Cobra for structured command-line applications in Go.
5.

Adding Advanced Configuration

Harness advanced configuration techniques in Go, using Viper and Cobra for flexible and efficient command-line programs.
6.

Adding Bells and Whistles

13 Lessons

See how it works to enhance Go command-line programs with builds, linking, CI/CD, and Docker.
7.

Summary

1 Lesson

Build on developing versatile Go command-line programs, testing, and cloud-related technologies.

Course Author

Show License and Attributions

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor