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