September 7, 2019

Go sort

I previously posted code that adjusts times between timezones. Writing that code, I did not want to rely on any external libraries for text search, so I instead used the sort package to create a minimal search function. There are many good tutorials on sort; this post merely shows how I used it. Read more

September 6, 2019

what time is it?

Often, I look up current time in another timezone just by websearch. There’s a better way; here’s one quick approach using Go and the Unix zoneinfo database. Read more

Content by © Jared Davis 2019
Theme by © Emir Ribic 2017

Powered by Hugo & Kiss.