data

package
v0.0.0-...-5630cad Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value struct {
	// contains filtered or unexported fields
}

Value AFAIRE

func FromJSON

func FromJSON(data []byte) (*Value, error)

FromJSON AFAIRE

func FromYAML

func FromYAML(data []byte) (*Value, error)

FromYAML AFAIRE

func (*Value) Get

func (v *Value) Get(keys ...string) (*Value, error)

Get AFAIRE

func (*Value) GetArray

func (v *Value) GetArray(keys ...string) ([]*Value, error)

GetArray AFAIRE

func (*Value) GetBool

func (v *Value) GetBool(keys ...string) (bool, error)

GetBool AFAIRE

func (*Value) GetBoolWDefault

func (v *Value) GetBoolWDefault(d bool, keys ...string) (bool, error)

GetBoolWDefault AFAIRE

func (*Value) GetInt

func (v *Value) GetInt(keys ...string) (int, error)

GetInt AFAIRE

func (*Value) GetIntWDefault

func (v *Value) GetIntWDefault(d int, keys ...string) (int, error)

GetIntWDefault AFAIRE

func (*Value) GetString

func (v *Value) GetString(keys ...string) (string, error)

GetString AFAIRE

func (*Value) GetStringWDefault

func (v *Value) GetStringWDefault(d string, keys ...string) (string, error)

GetStringWDefault AFAIRE

Jump to

Keyboard shortcuts

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