mirror of
https://github.com/gomods/athens
synced 2026-02-03 14:20:31 +00:00
* Athens: move storage.NotFound to errors.NotFound * see where things went wrong * empty means unexpected * GCP: replace AlreadyExists err * resolve conflicts * Errors: change not found name * fix build
7 lines
139 B
Go
7 lines
139 B
Go
package errors
|
|
|
|
// IsNotFoundErr helper function for KindNotFound
|
|
func IsNotFoundErr(err error) bool {
|
|
return Kind(err) == KindNotFound
|
|
}
|