Utility functions in Go