gosprint90.hashnode.devDay 15 - Env variables in goFirstly, what are environment variables and why do we use them? Environment variables are similar to the variables we use in our code — they store data that we can access later — but the main difference is they live outside your code. They are part o...Nov 4, 2025·5 min read
gosprint90.hashnode.devDay 14 - Go Command Line ArgumentsCommand Line Arguments in Go In Go, we can pass arguments to a program while running it from the terminal. These are called command-line arguments, and they can be accessed inside the main() function. There are so many packes in go (in built and thir...Nov 2, 2025·5 min read
gosprint90.hashnode.devDay 13 - String format, Rune, UTF-8String Formatting in Go Formatting strings is a fundamental concept in Go programming. The fmt package provides several functions to format, print, and return strings in a variety of ways. It is commonly used for debugging, logging, generating dynami...Nov 2, 2025·10 min read
gosprint90.hashnode.devDay 12 - Go date & timeIn Go, there is a package called time. It provides all the essential functionalities to work with dates, times, durations, and time zones. It can also hold information about the timezone and supports time-based operations like comparison, addition, a...Oct 31, 2025·6 min read
gosprint90.hashnode.devPackages & Modules in GOGo (Golang) organizes code through packages and modules, which help developers build clean, modular, and maintainable programs. Understanding these concepts is crucial for structuring your Go projects effectively. Packages in Go A package in Go is s...Oct 31, 2025·4 min read