Golang
Go Anonymous Function Explained [Practical Examples]
What are Anonymous Functions in golang? Declaring anonymous function in Go Invoking Anonymous Function in Go Use variable to execute anonymous function Passing …
How to read json data format in Go [Practical examples]
We shall discuss the following:- What is JSON? Read JSON Data to map Read JSON Data to struct Save JSON Data Using Marshal() (converting from a Go data type to …
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
How init() function works in GoLang with Execution Flow
Each Go package can optionally have a private function named init() that is automatically executed at the beginning of execution time—init() runs when the
Create custom GO module with Examples [Step-by-Step]
Now, we will create an example Go module. We will call it GoLinuxCloud. First, we need to create a folder inside the GOPATH src directory. Now, we need to
