Debian Codegraph @

go/analysis/passes/stringintconv/testdata/src/fix/fix.go.golden

raw
1 -- Format the number as a decimal --
2 package fix
3
4 import "fmt"
5
6 func _(x uint64) {
7 println(fmt.Sprint(x)) // want `conversion from uint64 to string yields...`
8 }
9
10 -- Convert a single rune to a string --
11 package fix
12
13 func _(x uint64) {
14 println(string(rune(x))) // want `conversion from uint64 to string yields...`
15 }
16