Skip to content

Commit 19cda13

Browse files
author
k1low
committed
Rename ErrDoNotUseCache to ErrShouldNotUseCache
1 parent 497eb05 commit 19cda13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

error.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
// ErrCacheNotFound is returned when the cache is not found
88
var ErrCacheNotFound error = errors.New("cache not found")
99

10-
// ErrDoNotUseCache is returned if should not use cache
11-
var ErrDoNotUseCache error = errors.New("do not use cache")
10+
// ErrShouldNotUseCache is returned if should not use cache
11+
var ErrShouldNotUseCache error = errors.New("should not use cache")
1212

1313
// ErrCacheExpired is returned if the cache is expired
1414
var ErrCacheExpired error = errors.New("cache expired")

0 commit comments

Comments
 (0)