1 2 3 4 5 6 7 8 9 10 11
// +build linux darwin freebsd netbsd openbsd package tail import ( "os" ) func OpenFile(name string) (file *os.File, err error) { return os.Open(name) }