Showing Posts From
Go
Golang - 5 different ways of comparing two strings with reasons
- Sriram Thiagarajan
- November 12, 2022
Learn with reason on which method to choose when you are doing the string comparison in Golang and n...
5 ways to concatenate string in Golang with reasons
- Sriram Thiagarajan
- October 28, 2022
Learn with reason on which method to choose when you are doing the string concatenation in Golang an...
Adding and Removing dependency in Go modules
- Sriram Thiagarajan
- July 23, 2021
Adding and Removing dependency in Go modules with examples...
Building basic CRUD operations in Go with Fiber
- Sriram Thiagarajan
- September 3, 2021
Building simple CRUD operations using Fiber. This article goes into detail about how to set up the A...
Building CLI application with GO
- Sriram Thiagarajan
- July 31, 2021
This article explains how to create a simple application in Go and access the feature using a CLI in...
Convert string to bool in Golang
- Sriram Thiagarajan
- October 29, 2022
Converting string to bool can be done using the strconv.ParseBool method. It tries to return a boole...
Convert string to bytes in golang
- Sriram Thiagarajan
- February 11, 2022
Converting string to bytes can be done using the []bytes() method...
Go - If Else Statement
- Sriram Thiagarajan
- July 14, 2021
Conditional statement form the basics of any program and you will learn how to write if else stateme...
Go - Learning 'for' loop statement in-depth
- Sriram Thiagarajan
- August 10, 2021
In programming, repeating a particular task is essential. Loop helps in executing pieces of code mul...
Go Switch - 6 ways of using Switch in Go
- Sriram Thiagarajan
- August 17, 2021
Application Development will have business logic based on a few conditions and the switch statement ...
Go Testing with Test Driven Development
- Sriram Thiagarajan
- September 15, 2021
Test Driven Development follows the principle of converting the requirements into a test case and de...
How to program a while loop in golang?
- Sriram Thiagarajan
- July 9, 2023
Golang syntax does not have a keyword for `while` loop but we can use the `for` loop syntax to creat...
Sorting a Slice of Integers in Reverse With Golang
- Sriram Thiagarajan
- June 12, 2023
Learn how to sort a slice of interger in golang using sort.Reverse()...
Golang - What is epoch?
- Sriram Thiagarajan
- April 4, 2022
What is epoch value? Learn about how to calculate the epoch value in Go....
How to check if a map contains a key in Go?
- Sriram Thiagarajan
- July 15, 2021
How to check if a map contains a key in Go using example...
How to concatenate strings in Go
- Sriram Thiagarajan
- July 22, 2021
Different ways to concatenate strings in Go with examples...
How to Convert integer to string type in Go?
- Sriram Thiagarajan
- February 18, 2023
You can convert integer to string type in golang using the Itoa() function from the strconv package....
How to Convert string to integer type in Go?
- Sriram Thiagarajan
- April 7, 2022
You can convert string to integer type in golang using the Atoi() function from the strconv package....
How to create a multiline string in Go
- Sriram Thiagarajan
- August 24, 2021
A multiline string can be useful when you want to show the user of your app in a readable format. Th...
How to find the type of an object in Go
- Sriram Thiagarajan
- September 15, 2021
Finding the type of the object using the reflect package in Go...
How to pause execution using the sleep function in Golang
- Sriram Thiagarajan
- February 18, 2022
Learn about the Sleep function from the time package to pause the execution of the thread. Also lear...
How to run a Golang Program?
- Sriram Thiagarajan
- December 11, 2022
How to run a Golang program to get the output of the Go in command line...
How to use Golang Maps?
- Sriram Thiagarajan
- October 13, 2021
Map is a built-in type in Go that helps in storing key-value pairs. Learn how to use Golang maps in ...
How to use main and init functions in Golang
- Sriram Thiagarajan
- October 8, 2021
Go language reserves main() and init() function for special purposes which can help simplify your co...
Introduction to Golang
- Sriram Thiagarajan
- July 11, 2021
Building your first console application using Golang...