tail/tail_windows.go

13 lines
195 B
Go
Raw Normal View History

// +build windows
package tail
import (
2021-10-13 21:28:19 +08:00
"git.lovezsh.com/go-kit/tail/winfile"
"os"
)
func OpenFile(name string) (file *os.File, err error) {
return winfile.OpenFile(name, os.O_RDONLY, 0)
}