Data types in Golang
Hey guys in this post, we will discuss the different datatypes provided by Golang. Integer type Floating type String Boolean package main import ( "fmt" "reflect" ) func main() {…
Hey guys in this post, we will discuss the different datatypes provided by Golang. Integer type Floating type String Boolean package main import ( "fmt" "reflect" ) func main() {…
Hey guys in this post, we will discuss some of the math functions that Golang provided out of the box. The math package in Go contains entirely of many math…
Hey guys in this post, we will write a program to print first 10 fibonacci numbers using Golang. package main import "fmt" func fibonacci() func() int { a, b :=…
Hey guys in this post, we will discuss the functions and how to call functions in Golang with easy to understand examples. 1. Create a directory mkdir go-workspace 2. Move…
Hey guys in this post, we will discuss the difference between Println(), Printf() and Print() methods with examples. 1. Create a directory mkdir go-workspace 2. Move inside the directory cd…
Hey guys in this post, we will see how to print Hello world in Go programming language with detailed explanation. 1. Create a directory mkdir go-workspace 2. Move inside the…