https://github.com/bbigras/go-tail-win
https://github.com/bbigras/go-tail-win
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bbigras/go-tail-win
- Owner: bbigras
- Created: 2016-08-07T05:08:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T06:59:43.000Z (almost 10 years ago)
- Last Synced: 2025-02-14T15:47:31.378Z (over 1 year ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
go-tail-win
===========
[](https://godoc.org/github.com/brunoqc/go-tail-win)
[](https://ci.appveyor.com/project/brunoqc/go-tail-win)
A Go package that behaves like tail.
##Sample code##
```go
package main
import (
"fmt"
"github.com/brunoqc/go-tail-win"
)
func main() {
t, err := tail.TailFile(filePath)
if err != nil {
panic(err)
}
for line := range t.Lines {
fmt.Printf("> %q\n", line)
}
}
```