1// +build windows 2 3package tail 4 5import ( 6 "github.com/hpcloud/tail/winfile" 7 "os" 8) 9 10func OpenFile(name string) (file *os.File, err error) { 11 return winfile.OpenFile(name, os.O_RDONLY, 0) 12} 13