I was wondering why this is valid go code:
func FindUserInfo(id string) (Info, bool) { it, present := all[id] return it, present }
but
By default, maps in golang return a single value when accessing a key
https://blog.golang.org/go-maps-in-action
Hence, return all[id] won't compile for a function that expects 2 return values.
return all[id]