Skip to content

Commit

Permalink
update field mask
Browse files Browse the repository at this point in the history
  • Loading branch information
sxwebdev committed Feb 5, 2024
1 parent dafa5d5 commit 8bf2543
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/db/dbutils/field_mask.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ func (s FieldMask) Items() []string {
func (s FieldMask) Len() int {
return len(s)
}

func (s FieldMask) Contains(v string) bool {
return slices.Contains(s, v)
}

0 comments on commit 8bf2543

Please sign in to comment.