12 lines
129 B
Go
12 lines
129 B
Go
|
// +build linux
|
||
|
|
||
|
package tail
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func OpenFile(name string) (file *os.File, err error) {
|
||
|
return os.Open(name)
|
||
|
}
|