Homepage
Open in app
Sign in
Get started
Go Recipes
How-to articles and recipes for Go programming
Follow
Introduction to performance testing in Go
Introduction to performance testing in Go
How to benchmark your programs with the Go standard library
Sau Sheong
Feb 12, 2023
Introduction to testing with Go
Introduction to testing with Go
How to automate testing with the Go standard library
Sau Sheong
Feb 4, 2023
Anonymous functions and closures in Go
Anonymous functions and closures in Go
Understanding what anonymous functions and closures are and how Go implements them
Sau Sheong
Jan 11, 2023
Fuzzing in Go
Fuzzing in Go
Running fuzz tests in Go
Sau Sheong
Jul 1, 2022
Go arrays and slices
Go arrays and slices
All you ever wanted to know about Go arrays and slices
Sau Sheong
May 21, 2022
A quick introduction to Go generics
A quick introduction to Go generics
How generics was added into Go and how to use it
Sau Sheong
May 16, 2022
Dijkstra’s algorithm in Go
Dijkstra’s algorithm in Go
Finding the shortest path in a graph with Go
Sau Sheong
Mar 19, 2022
The Stack and the Heap
The Stack and the Heap
Implementing stack and heap data structures in Go
Sau Sheong
Mar 18, 2022
Using Petri to simulate cultural interactions with Go
Using Petri to simulate cultural interactions with Go
Petri simulation framework revisited
Sau Sheong
Dec 4, 2021
Image processing with Go
Image processing with Go
Flipping, converting and resizing images using Go
Sau Sheong
Nov 20, 2021
Go binary data formats
Go binary data formats
Encode and decode gob and customized data formats with Go
Sau Sheong
Nov 14, 2021
Parsing JSON with Go
Parsing JSON with Go
How to unmarshal or decode JSON data with Go
Sau Sheong
Nov 5, 2021
Downloading files with Go
Downloading files with Go
Why using the io.Copy function is more efficient
Sau Sheong
Oct 31, 2021
Parsing and Displaying Time with Go
Parsing and Displaying Time with Go
Parse and display dates and time using the time package
Sau Sheong
Oct 23, 2021
Generating random numbers with Go
Generating random numbers with Go
Use the standard library and Gonum to generate random numbers from various probability distributions
Sau Sheong
Oct 16, 2021
Telling and Measuring Time with Go
Telling and Measuring Time with Go
Tell time and measure duration using the time package
Sau Sheong
Oct 9, 2021
How to generate UUIDs with Go
How to generate UUIDs with Go
What are UUIDs and how do you generate them with Go
Sau Sheong
Sep 30, 2021
Using Go modules
Using Go modules
How to use Go modules for versioning and package management
Sau Sheong
Sep 19, 2021
Reading and writing CSV in Go
Reading and writing CSV in Go
Read and write CSV files with the Go standard library
Sau Sheong
Sep 16, 2021
Working with images in Go
Working with images in Go
How to load, create and save images to file using Go
Sau Sheong
Sep 4, 2021
Reading and writing files in Go
Reading and writing files in Go
Simple recipes for reading and writing to files in Go
Sau Sheong
Aug 29, 2021
About Go Recipes
Latest Stories
Archive
About Medium
Terms
Privacy
Teams