Calling http get from golang

Опубликовано: 27 Май 2026
на канале: Story Feet
640
12

Using http to "get" stuff is relatively straight forward in golang, I've decided to make a one liner function to handle that, and then use it alongside google maps, to convert postcodes to latlongs using:

https://developers.google.com/maps/do...

We also take advantage of Dave Cheney's library on errors,
https://github.com/pkg/errors

Here's his video on the subject
   • GopherCon 2016: Don't Just Check Errors Ha...  

We also use a great json library
https://github.com/tidwall/gjson

and to see my workers thing I use at the end, my previous video

   • Fun with Channels in Golang