diff --git a/README.md b/README.md index 4a8d97e..7d73df4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,6 @@ A Go library for working with timer.txt files. -A timer.txt file is a plain text file for timekeeping purposes. It stems from the same motivations as todo.txt (http://todotxt.org/). +A timer.txt file is a plain text file for timekeeping purposes. It stems from the same motivations as todo.txt (http://todotxt.org/ ). This library is very similar to https://github.com/br0xen/go-todotxt, which is a fork of https://github.com/JamesClonk/go-todotxt. diff --git a/timerlist.go b/timerlist.go index 255af50..f4eb09c 100644 --- a/timerlist.go +++ b/timerlist.go @@ -219,7 +219,7 @@ func (timerlist *TimerList) WriteToFile(file *os.File) error { return err } -// WriteToFile writes a TimerList to *os.File. +// LoadFromFilename loads a TimerList from the filename. func (timerlist *TimerList) LoadFromFilename(filename string) error { file, err := os.Open(filename) if err != nil {