1
0

fixed lint + fmt

This commit is contained in:
konrad
2018-06-10 14:22:37 +02:00
committed by kolaente
parent f372128784
commit 2cf20fe1c4
3 changed files with 11 additions and 10 deletions

View File

@ -128,9 +128,8 @@ func (err ErrIDCannotBeZero) Error() string {
// List errors
// ===========
// ErrListDoesNotExist represents a "ErrListDoesNotExist" kind of error. Used if the list does not exist.
type ErrListDoesNotExist struct{
type ErrListDoesNotExist struct {
ID int64
}
@ -142,4 +141,4 @@ func IsErrListDoesNotExist(err error) bool {
func (err ErrListDoesNotExist) Error() string {
return fmt.Sprintf("List does not exist [ID: %d]", err.ID)
}
}