Articles by Antony Shikubu
Golang Optional Parameters (No Default Values? Best Workarounds Explained)
Learn how to implement optional parameters in Golang using variadic functions, struct-based patterns, and pointer parameters. This guide explains why Go does …
Golang WaitGroup Explained: Masterclass in Concurrency
golang waitgroup multiple wait, golang waitgroup timeout, golang waitgroup limit, golang waitgroup error handling
Golang Mutex Tutorial [Lock() & Unlock() Examples]
Learn all a about golang mutext with practical examples. How to add mutex lock and unlock in go code. Using sync.RWMutex, that allows multiple readers to hold …
Go Channels Complete Tutorial Explained in Layman's Terms
why use channels in golang, go channel select, go channel close, golang read from channel, golang count items in channel, golang channel blocking, golang …
Goroutines Complete Tutorial Explained in Layman's Terms
Getting started with goroutines in golang, Create one or multiple go routines. Add time.Sleep and sync.WaitGroup to goroutines to wait for it complete. Enable …
Golang If Else (Syntax, Multiple Conditions, One-Line & Best Practices)
Learn how to use if, else if, and else statements in Golang with practical examples. This guide covers multiple conditions, logical operators (AND, OR, NOT), …
[SOLVED] Using golang while loop with Examples
golang while true, golang while loop example, golang infinite loop, golang while loop through structs, maps, interface. golang while loop through slice, arrays, …
Golang for loop with Struct, Maps, Strings, Interfaces, Channels
How to use and syntaxd of golang for loop, Looping through Maps, Looping through slices, Looping through strings, Looping through interface, Looping through …
Golang Methods Tutorial [Practical Examples]
Complete tutorial guide on golang methods, golang receiver function, go struct methods, how to call a method in golang, golang method pointer
Golang interface Tutorial [Practical Examples]
golang interface, go interface, interface golang, interfaces in golang, interface in go, golang interface type, golang interfaces
Golang Maps Explained in layman's terms with Examples
Declaring golang maps using the var keyword, Initializing map using map literal, Initializing golang map using the make() function, Adding Key value pair in a …
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
Using golang function like a PRO [Practical Examples]
Just like any other function, an anonymous golang function is called by using parenthesis.
Golang struct Tutorial
When you declare a struct without field values, we say that it is a zero value struct. A zero value golang struct has its corresponding field values set to
Go Pointers Explained for Beginners
Go pointers are magical in that they allow us to get access to different memory addresses easily. Go pointers also allow us to change the value of a variable
