If I wanted to do the following:
fmt.Printf("Escape this -> %v... Do not escape this -> %v", "Unescaped")
How could I escape the first occurrence of %v
?
\%v
doesn't seem to work. Any ideas?
If I wanted to do the following:
fmt.Printf("Escape this -> %v... Do not escape this -> %v", "Unescaped")
How could I escape the first occurrence of %v
?
\%v
doesn't seem to work. Any ideas?