Here, we will see how to use Bitwise NOT operator in Go. There is no bitwise NOT operator in go like we use caret symbol…
Category: golang
Here, We will learn how to set the value of the environment variable in go. We can do it by using Setenv() function in os package in go…
Here, we will write a program to check alphabetic characters in strings in go. Given below, you can find algorithm and program. I have written…
Here, we will write a program to check Leap year or not. Given below, you can find algorithm and program. Leap year is a year…
Here, we will see program to add two numbers in go. Given below, you can find algorithm and program. Given two values in variables let us say…
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…
Here, We will see how to print backslash in strings in go. It is very easy to print something to the standard output in Go. You have…
Here, We will learn how to get host name reported by the kernel in go. We can do it by using Hostname() function in os package in go…
Here, We will learn how to get the numeric user id of the caller in go. We can do it by using Getuid() function in os package in…
Here, We will learn how to get the process id of the parent of caller in go. We can do it by using Getppid() function in os package…