Skip to content

Commit

Permalink
feat: mark WithUpdate function as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
aereal committed Jan 15, 2025
1 parent db907c8 commit 536d86a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ func toJSON(x interface{}) (string, error) {
return b.String(), nil
}

// WithUpdate is a internal helper function.
//
// Deprecated: WithUpdate will be deleted in the future.
func WithUpdate(query *gojq.Query) *gojq.Query {
var ret *gojq.Query
qs := splitIntoTerms(query)
Expand Down

0 comments on commit 536d86a

Please sign in to comment.