fixed lint + fmt
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user