field

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List []Path

func DottedList

func DottedList(s string) List

func (List) AppendTo added in v1.11.0

func (l List) AppendTo(b []byte) []byte

AppendTo appends the string representation of the list to byte slice b.

func (List) Equal

func (l List) Equal(to List) bool

func (List) Has

func (l List) Has(in Path) bool

func (List) String

func (l List) String() string

type Path

type Path []string

func Dotted

func Dotted(s string) Path

func (Path) AppendTo added in v1.11.0

func (p Path) AppendTo(b []byte) []byte

AppendTo appends the string representation of the path to byte slice b.

func (Path) Equal

func (p Path) Equal(to Path) bool

func (Path) HasPrefix

func (p Path) HasPrefix(prefix Path) bool

func (Path) HasPrefixIn

func (p Path) HasPrefixIn(set []Path) bool

func (Path) HasStrictPrefix

func (p Path) HasStrictPrefix(prefix Path) bool

func (Path) In

func (p Path) In(list List) bool

func (Path) IsEmpty

func (p Path) IsEmpty() bool

func (Path) Leaf

func (p Path) Leaf() string

func (Path) String

func (p Path) String() string

Jump to

Keyboard shortcuts

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