Skip to content

Commit 1fbe2e3

Browse files
committed
Weaken the note about linking all stores
This is now true only if you have a case like randomizer-lambda, where it imports a specific store and skips the environment-based logic entirely. (Which still makes it kind of true, to be clear.)
1 parent 5118f69 commit 1fbe2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var hasAllStoreBackends bool
2626
// may panic if a non-empty partition is required and not given.
2727
//
2828
// Factory is provided for documentation purposes. Do not import the store
29-
// package just to use this alias; this will link support for all possible
29+
// package just to use this alias; this may link support for all possible
3030
// store backends into the final program, even if this was not intended.
3131
type Factory = func(partition string) randomizer.Store
3232

0 commit comments

Comments
 (0)