☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
staticcheck
/
sa4032
/
testdata
/
go1.0
/
CheckGOOSComparison
/
other.go
☽
☼
staticcheck/sa4032/testdata/go1.0/CheckGOOSComparison/other.go
code
plain
raw
Expat
2016-2017 Dominik Honnef
debian/copyright
1
//go:build !(linux || windows || unix)
2
3
package pkg
4
5
import "runtime"
6
7
func other() {
8
if runtime.GOOS == "linux" { //@ diag(`runtime.GOOS will never equal "linux"`)
9
}
10
}