Debian Codegraph @

staticcheck/sa1019/testdata/go1.19/CheckDeprecated/CheckDeprecated.go

raw
1 package pkg
2
3 import _ "io/ioutil" //@ diag("has been deprecated")
4
5 // We test this in Go 1.19 even though io/ioutil has technically been deprecated since Go 1.16, because only in Go 1.19
6 // was the proper deprecation marker added.