variable formatting in golang code example Example: go format string s := fmt.Sprintf("string: %s number: %d time: %v", "string", 1, time.Now())