github.com/durkenhe/tailf@v0.0.0-20210829070326-d7341c377de4/tail_posix.go (about) 1 // +build linux darwin freebsd netbsd openbsd 2 3 package tail 4 5 import ( 6 "os" 7 ) 8 9 func OpenFile(name string) (file *os.File, err error) { 10 return os.Open(name) 11 }