github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/staticcheck/sa4032/testdata/src/example.com/CheckGOOSComparison/f_unix.go (about)

     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  }