☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
staticcheck
/
sa1019
/
testdata
/
go1.19
/
CheckDeprecated
/
CheckDeprecated.go
☽
☼
staticcheck/sa1019/testdata/go1.19/CheckDeprecated/CheckDeprecated.go
code
plain
raw
Expat
2016-2017 Dominik Honnef
debian/copyright
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.