CATEGORY

GO

How to change int to int64 in Golang? [SOLVED]

In Golang, it is very simple to convert an int to int64. In today's post, we will show you some simple examples of converting an int to int64. Depending on

By tuannguyen · 3 min read · GO

Golang iterate over slice in reverse? [SOLVED]

In Golang, iterating over a slice is surprisingly straightforward; In this article, we will learn how to iterate over a slice in reverse in Go.

By tuannguyen · 3 min read · GO

Golang search for an element in slice [SOLVED]

In this tutorial, we will try to implement some algorithms to search for an element in a slice. Go before version 1.18 does not provide any built-in methods

By tuannguyen · 6 min read · GO

How to write logs to file in Golang? [SOLVED]

In this tutorial, we will learn how to write logs to file in Golang. We have several ways to save the application log to specific files: we can use the

By tuannguyen · 5 min read · GO