Pro Golang Dev

Pro Golang Dev

Follow
homenewslettermembers
Waiting for Goroutines to complete

Waiting for Goroutines to complete

Goroutines are one of the best features of Go language. It is very easy to run a function as a goroutine, you just have to use the keyword go before the function call. Here is a very simple function which sleeps for n seconds and prints a line. pa...

Srinivasan Rangarajan
Srinivasan Rangarajan

3 min read

String Replacements in Go

String Replacements in Go

Srinivasan Rangarajan
Srinivasan Rangarajan

2 min read

Creating errors in go

Creating errors in go

Srinivasan Rangarajan
Srinivasan Rangarajan

5 min read

How to write benchmarks in Go

How to write benchmarks in Go

Srinivasan Rangarajan

4 min read

Table Driven Unit Testing

Table Driven Unit Testing

Srinivasan Rangarajan

3 min read

Regular Expressions in Go

Regular Expressions in Go

Srinivasan Rangarajan

4 min read

Basic Logging in Go

Basic Logging in Go

Srinivasan Rangarajan

2 min read

Accepting Variable Number of Arguments in a Function

Accepting Variable Number of Arguments in a Function

Srinivasan Rangarajan

1 min read

Loading Application Config from Environment Variables

Loading Application Config from Environment Variables

Srinivasan Rangarajan

2 min read

Listing Files and Directories in Go

Listing Files and Directories in Go

Srinivasan Rangarajan

3 min read

Access Environment Variables in Go

Access Environment Variables in Go

Srinivasan Rangarajan

2 min read

Parsing Date and Time in Go

Parsing Date and Time in Go

Srinivasan Rangarajan

2 min read