Latest Articles
Golang generate random boolean [Simple Examples]
Use rand.Intn() function to generate random boolean in golang
PROPERLY delete an element from map in GO [SOLVED]
We can delete elements from map using 2 different methods. Check if the key exists and delete or delete the key without checking.
PROPERLY delete an element from Slice in GO [SOLVED]
2 different methods to remove elements from slice in golang. We can either maintain the order or remove elements without maintaining the order
How to parse multiple inputs from user in Golang
The following are functions used to read or parse users' inputs in Golang:- fmt.Scanln(), fmt.Scanf(), bufio.NewReader(). These functions can parse single or …
Golang array contains specific element or not? [SOLVED]
In this tutorial we have covered different examples to cover golang array contains elements. Use for loop to check for string, int or float64 element in array …
