This commit is contained in:
kolaente 2017-12-29 22:35:13 +01:00 committed by Konrad
parent c534699884
commit 57a4f8607d
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -1185,7 +1185,7 @@ type ErrDependencyExists struct {
DependencyID int64
}
// IsErrDependencyExists checks if an error is a ErrDependencyExists.
// IsErrDependencyExists checks if a n error is a ErrDependencyExists.
func IsErrDependencyExists(err error) bool {
_, ok := err.(ErrDependencyExists)
return ok