Skip to content

Commit fceb1cd

Browse files
authored
add go comment
1 parent e0d201c commit fceb1cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

options.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func WithRedsyncOptions(options ...redsync.Option) LockerOption {
2323
}
2424
}
2525

26+
// WithKeyPrefix is a LockerOption for adding a prefix to the lock key
2627
func WithKeyPrefix(prefix string) LockerOption {
2728
return func(locker *redisLocker) {
2829
locker.keyPrefix = prefix

0 commit comments

Comments
 (0)