splitattrs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(input string) ([]string, error)

Split splits "attr1.attr2.[index].[key=value].[a:b]..." delimited by dot.

The attr can be quoted by '"", '\”, '`' if value has spaces

Example input: `nodes."availables".[0].status.[cpu=2.0]`

Types

This section is empty.

Jump to

Keyboard shortcuts

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