Skip to content

takeshy/tail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages