Welcome to my blog !

Golang tutorials - Variables starter guide with examples

April 2, 2022 ·  5 min read

This blog post, It covers the Golang Tutorials variables guide with examples. Golang variables Variables usage in go language is the same as in another programming language such as java. Variables are the name given to a space in memory where values are stored. These are various types of values that are stored. Based on each type, memory size will be accommodated. Variables names can be named using letters, digits, and underscore characters....

Golang Tutorials - foreach loop with range keyword examples

April 2, 2022 ·  3 min read

In this blog post, We are going to learn for each loop with a range in go language with example Golang for each loop the foreach loop is a for loop with a range keyword. It uses to iterate each element from Array, Slice, Map, and Strings. It is always useful to iterate the elements of a data structure without getting the length of data structure Syntax of the for with range loop is as follows....

Golang tutorials - For Loop beginner guide with examples

April 2, 2022 ·  4 min read

This blog post covers the For Loop with a break, continue, goto keywords with examples in Go Language. Golang For loop For loop is used to execute the code block a specific number of times. it is one more control structure type in the go language. Following is a syntax of for loop. for initialization; conditional Boolean expression; increment|decrement { // Code block } following are notes of for loop syntax...

Golang Tutorials - Data types Basic Guide with examples

April 2, 2022 ·  4 min read

Learn basic inbuilt predefined data types in golang tutorials with examples. Go language data types Go is a modern open-source programming language from Google. It is a statically typed language which means type checking is done at compile time. Variable can be declared a type or inferred from type inference. datatypes in golang define the same type of data that can be used to allocate memory size for storing the particular value....

Golang Tutorials - Beginner guide to Functions with examples

April 2, 2022 ·  10 min read

Contents Golang Functions why Function is required? Golang Function Example using Empty Function declaration Return Multiple values from a functions Blank Identifier - subset return values Named return values from a Function Variadic functions - variable arguments closure or anonymous functions defer statement arrays as a slice of arguments Golang Functions This article covers the following things related to functions in Go language...

You'll get a notification every time a post gets published here.