Introduction
You are jogging and want to show off your route to your friends. Let’s imagine the data you have for your route is a CSV file in the following format:
Listing 1: track.csv
time,lat,lng,height
2015-08-20 03:48:07.235,32.519585,35.015021,136.1999969482422
2015-08-20...
A hands-on talk on how to create and set up a project with GoReleaser.
In Portuguese.
Ever since I first started using gRPC in 2016, I’ve been interested in learning how to use it well with browser clients. It’s a common question to ask once you’ve decided that you are going to use gRPC for service-to-service and mobile app communication. Here&rs...
A hands-on talk on how to create and set up a project with GoReleaser.
Enums are a crucial part of web applications.
Go doesn’t support them out of the box, but there are ways to emulate them.
Many obvious solutions are far from ideal.
Here are some ideas we use that make enums safer by design.
iota
Go lets you enumerate things with iota.
cons...
When you start to build web applications with Go, one of the first questions you'll probably ask is "which
router should I use?".
It's not an easy question to answer, either. There are probably more than 100 different routers
available, all with differ...
Simple Lists is a tiny to-do list web application written in Go, with old school server-side rendering and no JavaScript.
Go is well-known for having great tooling for analyzing code written in the
language, right in the standard library with the go/* packages
(go/parser, go/ast, go/types etc.); in addition, the
golang.org/x/tools module contains
several supplemental packages that are even more powe...