Updating timerlist
This commit is contained in:
parent
5e83abb73b
commit
6310dc9f6b
@ -219,7 +219,7 @@ func (timerlist *TimerList) WriteToFile(file *os.File) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// WriteToFile writes a TimerList to *os.File.
|
// LoadFromFilename loads a TimerList from the filename.
|
||||||
func (timerlist *TimerList) LoadFromFilename(filename string) error {
|
func (timerlist *TimerList) LoadFromFilename(filename string) error {
|
||||||
file, err := os.Open(filename)
|
file, err := os.Open(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user