dt — Go’s missing datetime package

What is provided?

  • Time: Contains time info: HH:mm
  • Date: Contains date info: YYYY-MM-DD
  • DateTime: Contains date and time information: YYYY-MM-DDTHH:mm

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Emir Ribic

Emir Ribic

More from Medium

Hacking sum types with Go generics

An OpenMP-inspired approach to parallelizing loops in Go

How to Check nil Interface in Golang?

Golang packages