• GoLang - Programming - Tutorial

    Go 1.25: What’s New in the Latest Release?

    The Go team has officially released Go 1.25, the latest major version of the popular open-source programming language. This release, arriving six months after Go 1.24, introduces several significant improvements to the toolchain, runtime, and standard library, while maintaining Go’s promise of backward compatibility. Let’s dive into the key features and updates in Go 1.25. Key Features of Go 1.25 Container-Aware GOMAXPROCS Go 1.25 introduces container-aware GOMAXPROCS, which automatically adjusts the number of operating system threads used by the Go runtime based on the container’s CPU quota. This feature ensures better resource utilization and performance in containerized environments, making Go…

  • GoLang - API Development - Programming - Technology Trends - Tutorial - Web Development

    Top Open Source Tools to Debug Golang Code

    Golang (Go), developed by Google, is known for its simplicity, performance, and concurrency model. However, even the most experienced developers encounter bugs, performance issues, or unexpected behavior during development. Troubleshooting in Go requires efficient tools that can identify the root cause quickly without disrupting the workflow. During my development with Golang programming, I faced a situation where it was difficult to debug issues within a short period of time. After conducting detailed research and hands-on testing, I discovered these open-source tools that help developers troubleshoot and debug Go code more efficiently and effectively. 1. Delve: The Official Debugger for Go…

  • GoLang - Tutorial

    How to Create an Empty Array in Golang (With Examples)

    Learn how to create an empty array in Golang using different methods. Understand the difference between arrays and slices with practical examples and best practices. In Golang (Go), arrays are one of the most fundamental data structures in any programming language, and Go (or Golang) is no exception. Understanding how to create and manage arrays efficiently is key to writing performant Go code. In this post, we’ll explore several ways to create an empty array in Go, discuss how arrays differ from slices, and review some best practices for using them. What Is an Array in Golang? An array in…

  • GoLang - Linux Commands - Tutorial

    How to Setup a Go Web Service as a System-Level Service on Ubuntu (Step-by-Step Guide)

    Learn how to set up a Go web service as a system-level service on Ubuntu using systemd. This step-by-step guide helps you automate startup, improve reliability, and ensure smooth server deployment for production. If you’ve built a Go (GoLang) web service and want it to run automatically on server startup, the best approach is to configure it as a system-level service using systemd. This ensures your Go application runs reliably, restarts automatically on failure, and integrates seamlessly with the Ubuntu server environment. In this guide, we’ll walk you through every step from compiling your Go program to creating a systemd…

  • GoLang - Tutorial

    How to Add Number of Days to Current Date in Golang

    Learn how to add number of days to current date in Go using the time package. Step-by-step example with code snippet and explanation. Perfect for Go developers on Linux, Windows, and macOS. Working with dates and time in Go (Golang) is a common task in software development — especially for handling schedules, deadlines, logs, and report generation. If you’re looking to add a specific number of days to the current date in Go, this guide will show you a simple and efficient way to do it using the time package. Why You Need to Manipulate Dates in Go? In real-world…

  • Tutorial - GoLang

    How to Write a ‘Hello World’ Program in GoLang

    If you’re exploring Go (Golang) for building web applications, you’ve probably heard about Fiber one of the fastest web frameworks for Go, inspired by Express.js. In this tutorial, you’ll learn how to create Go module and build a simple “Hello World” web service using Fiber on an Ubuntu system. What Is Fiber? Fiber is a lightweight, fast, and expressive web framework built on top of Fasthttp, which makes it one of the most efficient frameworks in the Go ecosystem. It is ideal for developing REST APIs, microservices, and production-grade web applications. Why Use Fiber for Go Web Services Step 1:…