Reading List

ValOrDefault from Fragments — brandur.org RSS feed.

ValOrDefault

A pair of helper functions ValOrDefault and ValOrDefaultFunc that can help significantly to clean up Go code around assigning default values.