The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
3
Stars
MIT
License
5
Downloads
November 15th 2018
Last Modified
Version:
Loading...

Build Status GoDoc

The tailpipe package provides an implementation of tail -F for Go. In effect, it produces files that are infinite length, and re-opens the file when it is changed, such as during log rotation. It can be used for programs that need to watch log files indefinitely.

There are several tail packages for Go available. However, most packages do not preserve the io.Reader interface, instead opting for a line-oriented approach involving chan string. By preserving the io.Reader interface, this package composes better with the standard library.