You can convert integer to string type in golang using the Itoa() function from the strconv package. Learn about more methods to convert integer to string in go.
Sorting integers in reverse order? Learn how to do it with two different methods and in-depth explanation
How to run a Golang program to get the output of the Go in command line
Learn with reason on which method to choose when you are doing the string comparison in Golang and never go wrong.
Converting string to bool can be done using the strconv.ParseBool method. It tries to return a boolean value from a string. It accepts the strings in the following format 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False
Learn with reason on which method to choose when you are doing the string concatenation in Golang and never go wrong.
You can convert string to integer type in golang using the Atoi() function from the strconv package. Learn about more methods to convert string to integer in go.
What is epoch value? Learn about how to calculate the epoch value in Go.
Learn about the Sleep function from the time package to pause the execution of the thread. Also learn to make the interesting typewriter effect in the console using the sleep method
Converting string to bytes can be done using the []bytes() method
Map is a built-in type in Go that helps in storing key-value pairs. Learn how to use Golang maps in this tutorial
Go language reserves main() and init() function for special purposes which can help simplify your code in Golang. Learn how to use them in this article
Finding the type of the object using the reflect package in Go
Test Driven Development follows the principle of converting the requirements into a test case and developing code after the test case is written.
Building simple CRUD operations using Fiber. This article goes into detail about how to set up the API with multiple endpoints and working with a database to building a simple Bookmarking API.
A multiline string can be useful when you want to show the user of your app in a readable format. This article shows you how you can achieve multiline strings in Go
Application Development will have business logic based on a few conditions and the switch statement help provides clarity. Learn about the different ways you can use the switch statement in this article
In programming, repeating a particular task is essential. Loop helps in executing pieces of code multiple times based on a particular condition. Learn about the Go for statement in-depth in this article
This article explains how to create a simple application in Go and access the feature using a CLI interface
Adding and Removing dependency in Go modules with examples
Different ways to concatenate strings in Go with examples
How to check if a map contains a key in Go using example
Conditional statement form the basics of any program and you will learn how to write if else statement in Go with practical examples
Building your first console application using Golang