Skip to content

Commit

Permalink
fix README example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sridhar Ratnakumar committed Feb 6, 2013
1 parent 835af80 commit f2cd234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A Go package striving to emulate the features of the BSD `tail` program.

```Go
t := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true})
t, err := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true})
for line := range t.Lines {
fmt.Println(line.Text)
}
Expand Down

0 comments on commit f2cd234

Please sign in to comment.