github.com/liumingmin/tail@v1.0.0/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 }