Golang
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
Import local packages without GOPATH [SOLVED]
In today's post, we are going to answer the question "Can we import the local packages without the GOPATH". We already have an article about how to organize
