Go

Golang Serialize JSON String: Complete Guide

Marshal traverses the value of interface recursively. If an encountered value implements the Marshaler interface and is not a nil pointer, Marshal calls its...

Golang make: How to Create Slice in Go

Golang slice make() function creates the empty slice. The empty slices are those slices that contain the empty array reference. Golang make Golang make() is a...

Golang map: The Complete Guide

One of the most useful data structures in computer science is the hash table. Many hash table implementations exist with varying properties, but in...

How to Convert int to string in Golang

Golang has a built-in package called strconv that provides functions that convert int to string. I have already covered how to convert string to int...

Golang Cast: How to Do TypeCasting in Golang

Type casting happens when we assign a value of one data type to another data type. Statically typed languages like C++ and Java provide...