1package parser23import (4 "fmt"5)67type ParserError struct {8 Name string9 Line uint10 Msg string11}1213func (p ParserError) Error() string {14 return fmt.Sprintf("%s:%d %s", p.Name, p.Line, p.Msg)15}
Small utility for tracking working hours in a plain text file
git clone https://git.8pit.net/tracktime.git
1package parser23import (4 "fmt"5)67type ParserError struct {8 Name string9 Line uint10 Msg string11}1213func (p ParserError) Error() string {14 return fmt.Sprintf("%s:%d %s", p.Name, p.Line, p.Msg)15}