github.com/wowker/tail@v0.0.0-20210121082357-fe86e3c1032a/tail_windows.go (about) 1 // +build windows 2 3 package tail 4 5 import ( 6 "os" 7 ) 8 9 func OpenFile(name string) (file *os.File, err error) { 10 return winfile.OpenFile(name, os.O_RDONLY, 0) 11 }