Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("model not found")
ErrNotFound represents `model not found` error. Comparision to ErrNotFound should be `IsErrNotFound(err)`, instead of `err == ErrNotFound`
Functions ¶
func IsErrNotFound ¶
IsErrNotFound reports whether the err is `model not found` error
func IsNotFound ¶
IsNotFound reports whether the err is model not found error
Types ¶
Click to show internal directories.
Click to hide internal directories.