Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andresuribe87 committed Dec 9, 2022
1 parent 3742976 commit 98e6b3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/storage/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ type UpdaterWithMap struct {
Values map[string]any
}

// Validate is a default implementation for UpdaterWithMap which does no validation. Users can pass embed UpdaterWithMap
// into a custom struct and redefine this method in order to have custom logic.
func (u UpdaterWithMap) Validate(v []byte) error {
return nil
}
Expand Down

0 comments on commit 98e6b3a

Please sign in to comment.