Versions in this module Expand all Collapse all v0 v0.2.0 Mar 8, 2026 Changes in this version + type Applier struct + CaseSensitive bool + func NewApplier() *Applier + func (a *Applier) Apply(resource any, operations []Operation) error + type Operation struct + Op OperationType + Path string + Value any + func (op *Operation) UnmarshalJSON(data []byte) error + func (op *Operation) Validate() error + func (op Operation) MarshalJSON() ([]byte, error) + type OperationType string + const OpAdd + const OpRemove + const OpReplace + func ParseOperationType(s string) (OperationType, error) + type Path struct + Attribute string + Filter string + SubAttribute string + URIPrefix string + func ParsePath(path string) (*Path, error) + func (p *Path) IsMultiValued() bool + func (p *Path) String() string + type Request struct + Operations []Operation + Schemas []string + type TargetSelector struct + All bool + FilterAttr string + FilterOp string + FilterValue any + Index int + func ParseFilter(filter string) (*TargetSelector, error) + func (s *TargetSelector) Matches(value map[string]any) bool