Techbits

How to get the zero value in Go

May 15, 2022 go, generics, reflect

Getting the zero value in Go can be useful and the generics feature makes it easy.

How to format time in Go

September 25, 2021 go, humanize

Formatting time in go can be quite tricky, luckily there is a handy library called go-humanize that makes formatting time much easier.