Latest Articles
How to check if struct is empty in GO? [SOLVED]
This article describes a few methods for determining whether a struct in Go is empty. It includes structs having fields that are comparable and
How to convert float64 to int Golang? [SOLVED]
In this tutorial, we will walk through some ways to convert a float64 to int in Golang. As introduced before, we can convert float64 to a string using the
How to Compare Struct, Slice or Map in GO? [SOLVED]
In Golang, the DeepEqual function is used to compare struct, slice, and map equality. It is used to determine whether or not two items are "deeply equal".
How to do repetitive tasks at intervals GO? [SOLVED]
In today's post, I will introduce to you some ways to do some repetitive tasks at intervals in Golang. We can use the time.Ticker() function or use a channel
How to trim leading and trailing spaces GO? [SOLVED]
In this tutorial, we are going to examine some examples of trim leading and trailing white spaces of a string in Golang. Golang provides the built-in package
