Merge remote-tracking branch 'origin/v2.10.6-bug100770-inotify-leak' into release-v2.10-patches
A Go package striving to emulate the BSD tail program.
t := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true}) for line := range t.Lines { fmt.Println(line.Text) }
go get github.com/ActiveState/tail
To build and test the package,
make test
To build the command-line program gotail,
cd cmd/gotail make ./gotail -h
Location