How can you format a string without printing? You should the following command to format a string without printing: return fmt.Sprintf (“at %v, %s” , e.When , e.What )