Skip to content

Commit

Permalink
chore(core/store): Batch interface alias (#21262)
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope authored Aug 12, 2024
1 parent 76e1fa3 commit df3b035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type KVStore interface {
//
// As with KVStore, given keys and values should be considered read-only, and must not be modified after
// passing them to the batch.
type Batch interface {
type Batch = interface {
// Set sets a key/value pair.
// CONTRACT: key, value readonly []byte
Set(key, value []byte) error
Expand Down

0 comments on commit df3b035

Please sign in to comment.