Improve golint happiness

This commit is contained in:
Aaron Raddon
2017-08-12 09:50:14 -07:00
parent febb340f9d
commit 0d88e220f9
2 changed files with 6 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ var (
"2014-04-26",
}
DateFormatError = fmt.Errorf("Invalid Date Format")
ErrDateFormat = fmt.Errorf("Invalid Date Format")
timeFormats = []string{
// ISO 8601ish formats
@@ -87,5 +87,5 @@ func parseShotgunStyle(raw string) (time.Time, error) {
return t, nil
}
}
return time.Time{}, DateFormatError
return time.Time{}, ErrDateFormat
}