Registry / utility / hpcloud-tail

hpcloud-tail

JSON →
library1.0.0gogounverified

Package tail provides a Go library for tailing files.

go get github.com/hpcloud/tail
INSTALL
IMPORT
SIG · HPCLOUD-TAIL
H
hpcloud-tail
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tail
github.com/hpcloud/tail

Tails a file and prints new lines.

package main import ( "fmt" "time" "github.com/hpcloud/tail" ) func main() { t, _ := tail.TailFile("/var/log/syslog", tail.Config{Follow: true}) for line := range t.Lines { fmt.Println(line.Text) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hpcloud-tail — go get hpcloud-tail · libregistry