Flags and Options in Go CLIs
Quick Recap In Article 1, we built a small Go CLI that reads a name from the terminal using os.Args. We ran it like this: ./greeter John And printed: Hello, John! That works, but it has a problem. W

Search for a command to run...
Articles tagged with #go
Quick Recap In Article 1, we built a small Go CLI that reads a name from the terminal using os.Args. We ran it like this: ./greeter John And printed: Hello, John! That works, but it has a problem. W

What is a CLI? A CLI stands for Command Line Interface. It is a program you talk to by typing in a terminal, not by clicking buttons on a screen. You have probably used CLIs before. When you type cd D

Strings are a fundamental data type in Go, and they are crucial for any programming language as they allow you to work with text data. In Go, strings are immutable sequences of bytes, meaning that once a string is created, it cannot be modified. Howe...
The concept of pointers and receiver methods can be quite confusing in Golang. In this article, I will explain what they are, why they are being used and how to use them. What are pointers? Pointers are a type of variable that is used to store the m...

Do you have a large codebase and it's been difficult to organize? Do you think a new team or team member can navigate through your codebase easily? If your answer is no, then the solution is here. You should have a basic understanding of GoLang. You ...
