Intermediate
30h
Powerful Command-Line Applications in Go
Gain insights into Go’s syntax and advanced concepts. Learn about building efficient CLI tools, automating tasks, data processing, and ensure robustness with testing and benchmarking techniques.
Go is a programming language that combines the advantages of static typing with the flexibility of dynamic typing. Its simplicity and prototyping capabilities make it an excellent choice for building command-line tools. It also offers features such as type safety, cross-compilation, testing, and benchmarking, enabling developers to handle complex scenarios.
You’ll start by learning the foundations in Go’s fundamental syntax and progressively delve into advanced concepts. Then, you’ll learn to develop various command-line applications that can automate tasks, process data, parse logs, interact with network services and fulfill system requirements. In addition, the course also covers different testing and benchmarking techniques to ensure the speed and reliability of programs.
After taking this course, you’ll be able to automate your work and enhance productivity. You’ll also be able to utilize the Go programming language to develop robust, cross-platform, efficient, and maintainable CLI applications.
Go is a programming language that combines the advantages of static typing with the flexibility of dynamic typing. Its simplicit...Show More
WHAT YOU'LL LEARN
An understanding of the fundamentals of the Go programming language, including its syntax and data types
A working knowledge of building command-line applications using Go
An understanding of command-line arguments, input and output, error handling, and testing
Familiarity with designing and implementing real-world applications using Go
An understanding of the fundamentals of the Go programming language, including its syntax and data types
Show more
Content
1.
Introduction
2 Lessons
Get familiar with developing Go-based command-line tools and managing dependencies with Go modules.
2.
First Command-Line Program in Go
7 Lessons
Get started with building, testing, and enhancing a basic word counter in Go.
3.
Interacting with Users
14 Lessons
Examine building a flexible, user-friendly CLI to-do tool using Go’s functions and packages.
4.
Working with Files in Go
12 Lessons
Enhance your skills in file handling and testing by building a Markdown preview tool in Go.
5.
Navigating the File System
11 Lessons
Take a closer look at developing and testing a file system crawler in Go with archiving and logging.
6.
Improving the Performance of CLI Tools
14 Lessons
Follow the process of enhancing Go CLI tools with benchmarking, profiling, and concurrency.
7.
Controlling Processes
14 Lessons
Master the steps to automate CI tasks, handle errors, test commands, and manage output effectively.
8.
Using the Cobra CLI Framework
16 Lessons
Step through developing a Go-based CLI tool using the Cobra framework, from initialization to testing.
9.
Talking to REST API
16 Lessons
Walk through building and testing a Go REST API server and client for CRUD operations.
10.
Developing Interactive Terminal Tools
12 Lessons
Go hands-on with developing interactive CLI tools, focusing on a Pomodoro timer.
11.
Persisting Data in a SQL Database
9 Lessons
Apply your skills to persisting Pomodoro app data in SQLite with testing, summaries, and visualizations.
12.
Distributing Tool
8 Lessons
Gain tools for cross-OS notifications, customized builds, and process management in Go.
13.
Appendix
4 Lessons
Explore Go tracer for performance insights, SQLite installation, Go-SQLite integration, and containerized app compilation.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
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