luet/vendor/github.com/nxadm/tail/tail_windows.go
Ettore Di Giacinto 6b8f412138
Update vendor
2020-06-12 17:58:13 +02:00

13 lines
189 B
Go

// +build windows
package tail
import (
"github.com/nxadm/tail/winfile"
"os"
)
func OpenFile(name string) (file *os.File, err error) {
return winfile.OpenFile(name, os.O_RDONLY, 0)
}