jogo

package
v0.0.0-...-2424b45 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(importedJson string) (ExportedJson, ResultJson, error)

func GetType

func GetType(v interface{}) (string, error)

Types

type ExportedJson

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

func (*ExportedJson) Get

func (expJson *ExportedJson) Get(keyRef string) (ResultJson, error)

type ResultJson

type ResultJson struct {
	Type string
	// contains filtered or unexported fields
}

func R

func R(val interface{}) ResultJson

func (ResultJson) Bool

func (r ResultJson) Bool() bool

func (ResultJson) BoolStrict

func (r ResultJson) BoolStrict() (bool, error)

func (ResultJson) Float

func (r ResultJson) Float() float64

func (ResultJson) FloatStrict

func (r ResultJson) FloatStrict() (float64, error)

func (ResultJson) Int

func (r ResultJson) Int() int64

func (ResultJson) IntStrict

func (r ResultJson) IntStrict() (int64, error)

func (ResultJson) List

func (r ResultJson) List() []interface{}

func (ResultJson) ListStrict

func (r ResultJson) ListStrict() ([]interface{}, error)

func (ResultJson) Object

func (r ResultJson) Object() map[string]interface{}

func (ResultJson) ObjectStrict

func (r ResultJson) ObjectStrict() (map[string]interface{}, error)

func (ResultJson) String

func (r ResultJson) String() string

func (ResultJson) StringStrict

func (r ResultJson) StringStrict() (string, error)

Jump to

Keyboard shortcuts

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