Intermediate
28h 30min
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.
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.
In this course you will learn why Go is an awesome language for writing command-line programs. You will learn how to structure y...Show More
Content
1.
Overview
7 Lessons
Learn how to use Go to build versatile and efficient command-line programs.
2.
Restructuring multi-git
5 Lessons
Unpack the core of restructuring multi-git for better code organization and collaboration.
3.
Testing 1,2,3...
11 Lessons
Examine Go's testing capabilities, tools like Ginkgo and Gomega, and comprehensive e2e testing.
4.
Adding Smart Command-Line Parsing
13 Lessons
Grasp the fundamentals of using Cobra for structured command-line applications in Go.
5.
Adding Advanced Configuration
13 Lessons
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 Lessons
Build on developing versatile Go command-line programs, testing, and cloud-related technologies.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Show License and Attributions
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources