Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //the fmt package has various printing functions, such as Printf, Fprint, Println
- //Println doesn't take a format string, but Printf does.
- fmt.Println("Hello 23")
- fmt.Printf("Hello %d", 23)
- //The catchall format is %v, so you don't need to specify a type of value.
- fmt.Printf("Hello %v", 23)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement