github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/staticcheck/testdata/CheckNonOctalFileMode.go (about)

     1  package pkg
     2  
     3  import "os"
     4  
     5  func fn() {
     6  	os.OpenFile("", 0, 644) // MATCH /file mode.+/
     7  }