Debian Codegraph @

staticcheck/sa4032/testdata/go1.0/CheckGOOSComparison/f_unix.go

raw
1 package pkg
2
3 import "runtime"
4
5 func fileUnix() {
6 // "unix" is not a magic file name suffix, so all of these branches are fine
7 if runtime.GOOS == "windows" {
8 }
9 if runtime.GOOS == "android" {
10 }
11 if runtime.GOOS == "linux" {
12 }
13 }