Discover Packages
github.com/takeshy/tail
package
module
Version:
v0.0.0-...-283666f
Opens a new window with list of versions in this module.
Published: Apr 19, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
README
¶
tail
tail -F by go lang
Usage
package main
import "github.com/takeshy/tail"
import "fmt"
func main(){
c := tail.Watch("/path/to/file")
for {
select {
case s := <-c:
fmt.Println(s)
}
}
}
Installation
go get github.com/takeshy/tail
License
MIT
Author
Takeshi Morita
Expand ▾
Collapse ▴
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.