Advertisement
cwchen

[Go] Using void interface in Go fmt library.

Oct 7th, 2017
753
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.11 KB | None | 0 0
  1. package main
  2.  
  3. import (
  4.     "fmt"
  5. )
  6.  
  7. func main() {
  8.     fmt.Println(fmt.Sprintf("%d %s %t", 1, "Hello", true))
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement