Some basic utilities for Go programs