Run ❯
Get your
own
website
×
Change Orientation
package main import ("fmt") func main() { var txt = "Hello" fmt.Printf("%s\n", txt) fmt.Printf("%q\n", txt) fmt.Printf("%8s\n", txt) fmt.Printf("%-8s\n", txt) fmt.Printf("%x\n", txt) fmt.Printf("% x\n", txt) }
Hello "Hello" Hello Hello 48656c6c6f 48 65 6c 6c 6f