Documentation
¶
Index ¶
- type Item
- type Operation
- type Patch
- func (p *Patch) Add(path string, value interface{}) *Patch
- func (p *Patch) Copy(from, to string) *Patch
- func (p *Patch) Move(from, to string) *Patch
- func (p *Patch) Remove(path string) *Patch
- func (p *Patch) Replace(path string, value interface{}) *Patch
- func (p *Patch) Test(path string, value interface{}) *Patch
- type PatchBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatchBuilder ¶
type PatchBuilder interface {
Test(path string, value interface{}) PatchBuilder // Add a test operation
Remove(path string) PatchBuilder // Add a remove operation
Add(path string, value interface{}) PatchBuilder // Add an add operation
Replace(path string, value interface{}) PatchBuilder // Add a replace operation
Move(from, to string) PatchBuilder // Add a move operation
Copy(from, to string) PatchBuilder // Add a copy operation
}
Click to show internal directories.
Click to hide internal directories.