Mike Congdon
Results
2
issues of
Mike Congdon
Adds Int from sql.NullString (super helpful when dealing with id's on databases where the id might not be in a struct used to receive/pass to client). It's helpful for my...
// NewInt creates a new Int from a string func NewIntFromString(i string, valid bool) Int { if valid { inter, err := strconv.Atoi(i) if err != nil { return Int{...