Solved: How to test if string is empty in GoLang?
In this article, we will discuss How to test if string is empty or not empty in golang? Golang is a relatively new language based on the C language but with better memory and garbage
In this article, we will discuss How to test if string is empty or not empty in golang? Golang is a relatively new language based on the C language but with better memory and garbage
Getting started with Go init() function When developing applications with Go, you often have to define or declare the state of your application.init()function in Go is used to declare the state of an application such
In this article, we are going to create a simple module in Go. What is a Go Module? A module is a collection of Go packages stored in a file tree. It has several
In this article, we are discussing how to return multiple values using a function in Go. Golang has inbuilt features which support multiple return values. In a function return statement is used to return multiple
In this article we are discussing different ways to read files in Golang. We read the text and binary files. To read files in Go, we use the os, ioutil, io, and bufio packages. There
Golang function overview for beginners A function is a named group of statements that together perform a specific task in a program. When using functions, the code that is using it is called the caller
Introduction to Read file with timeout in Go Reading and writing files are basic tasks needed for many Go programs. Reading files is one of the most essential tasks in programming. It allows us to
Introduction on Golang struct type Go structures (structs) are typed collections of fields of different types. In Go you can easily create your custom data type and using struct is one of the ways you
Introduction to Go Pointers In simple terms , a pointer in Go is a variable that stores the memory address instead of value. The memory address can be of another value located in the computer.