Re:Small introduction to tags in Go
by chrisbroadfoot on Wednesday July 22, 2015 @03:50AM
(#9928232)
or just named return values
func (a *Account) VerifyPassword(password string) (isValid, wasUpdated bool, err error) {
func (a *Account) VerifyPassword(password string) (bool, bool, error) {
this is why we need sum types people