Utility functions I use with Go