2014-06-26 21:47:21 +08:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package tail
|
|
|
|
|
|
|
|
import (
|
2015-09-30 22:48:17 +08:00
|
|
|
"github.com/hpcloud/tail/winfile"
|
2014-06-26 21:47:21 +08:00
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
func OpenFile(name string) (file *os.File, err error) {
|
|
|
|
return winfile.OpenFile(name, os.O_RDONLY, 0)
|
|
|
|
}
|