Random Go common utility functions