jsonpatch

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewOperation = jsonpatch.NewOperation //nolint:gochecknoglobals

Functions

func Q

func Q(s string) string

Escaping some characters, corresponds to https://www.rfc-editor.org/rfc/rfc6901#section-3

Types

type Operation

type Operation = jsonpatch.Operation

----------------------------------------------------------------------------

type Patch

type Patch []Operation

func (Patch) Bytes

func (r Patch) Bytes() []byte

func (Patch) Len

func (r Patch) Len() int

Len for https://godoc.org/sort#Interface

func (Patch) Less

func (r Patch) Less(i, j int) bool

Less for https://godoc.org/sort#Interface

func (Patch) Sort

func (r Patch) Sort() Patch

func (Patch) String

func (r Patch) String() string

func (Patch) Swap

func (r Patch) Swap(i, j int)

Swap for https://godoc.org/sort#Interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL