Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / go / ssa / interp / testdata / src / fmt / fmt.go
1 package fmt
2
3 func Sprint(args ...interface{}) string
4
5 func Print(args ...interface{}) {
6         for i, arg := range args {
7                 if i > 0 {
8                         print(" ")
9                 }
10                 print(Sprint(arg))
11         }
12 }
13
14 func Println(args ...interface{}) {
15         Print(args...)
16         println()
17 }
18
19 // formatting is too complex to fake
20
21 func Printf(args ...interface{}) string {
22         panic("Printf is not supported")
23 }
24 func Sprintf(format string, args ...interface{}) string {
25         panic("Sprintf is not supported")
26 }