Here, we will see Simulation of Linux cd command in Go. We will do directory changes without OS call with program. Simulating a “cd” Linux command…
Category: Miscellaneous
Here, we will learn how to get free port in go. We will use net package and ResolveTCPAddr method to get free port in go.…
Here, We will see how to copy a map to another map in go . There are multiple ways to do that. We will see one by…
Here, we will learn how to set and unset a single bit in Go. We will learn it by programming and using bitwise operators in…
We are going to learn about difference between Print() and Println() function in go. We will also see how to use and import Print() and…
In this tutorial, We are going to learn about how to format string without printing in go. Go provides very simple way to format a…
In this tutorial, We are going to learn about how to check if a map is empty in go. map is a collection of unordered…
In this tutorial, We are going to learn about how to iterate over map in go. We can do it by using for loop and…
Here, We will see how to use while loop in go . There is no such while loop in go. There is only one loop i.e for…
Here, We will see how to print double quote in string in go. It is very easy to print something to the standard output in Go. You…