Skip to content

Commit ea5768c

Browse files
authored
Update cache.go
1 parent 5a1da16 commit ea5768c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type itemOptions struct {
4040
}
4141

4242
// WithExpiration is an option to set expiration time for any items.
43-
// If the expiration is zero or negative value, it treat as no expiration.
43+
// If the expiration is zero or negative value, it treats as w/o expiration.
4444
func WithExpiration(exp time.Duration) ItemOption {
4545
return func(o *itemOptions) {
4646
o.expiration = exp

0 commit comments

Comments
 (0)