nxadm/tail ↗
Created Jan 2, 2021 · View the nxadm/tail repository page
[Revamped] Go package for reading from continuously updated files (tail -f)
An animated visualization of nxadm/tail's Git history from October 2012 to December 2020, built by 41 contributors. The codebase reached 1,271 lines, mostly Go. The video runs 1 minute 46 seconds.
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
41
Lines of Code
1,271
From
Oct 9, 2012
To
Dec 24, 2020
Advertisement
About nxadm/tail
nxadm/tail is a Go library that provides tail functionality for reading from continuously updated files, mimicking the behavior of the Unix `tail -f` command. The package includes robust support for file truncation and move detection, making it suitable for use with log rotation tools. It works across all major operating systems supported by Go, including Linux, BSD variants, macOS, and Windows, with compatibility back to Go 1.12.
The project is an actively maintained replacement for the abandoned hpcloud/tail library. It addresses the original project's open issues and pull requests while adding new features, fixing bugs, and keeping dependencies current with modern Go tooling and modules. The library provides a straightforward API for monitoring file changes and includes example code in its repository for debugging and reference purposes.
Advertisement