dynstruct

package module
v0.0.0-...-4d99ce9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Define

func Define(name string) *definer

Types

type DynStruct

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

func (*DynStruct) New

func (ds *DynStruct) New() Value

func (*DynStruct) NewFromMap

func (ds *DynStruct) NewFromMap(m map[string]interface{}) (Value, error)

func (*DynStruct) NewFromMapStrictly

func (ds *DynStruct) NewFromMapStrictly(m map[string]interface{}) (Value, error)

func (*DynStruct) NewFromMapUnsafely

func (ds *DynStruct) NewFromMapUnsafely(m map[string]interface{}) Value

func (DynStruct) String

func (ds DynStruct) String() string

type Value

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

func (Value) Copy

func (v Value) Copy() Value

func (Value) Format

func (v Value) Format(f fmt.State, c rune)

func (Value) Get

func (v Value) Get(field string) interface{}

func (Value) MarshalJSON

func (v Value) MarshalJSON() ([]byte, error)

func (Value) Scan

func (v Value) Scan(field string, val interface{})

func (Value) Set

func (v Value) Set(field string, val interface{})

func (Value) UncheckGet

func (v Value) UncheckGet(field string) interface{}

func (Value) UncheckScan

func (v Value) UncheckScan(field string, val interface{})

func (Value) UncheckSet

func (v Value) UncheckSet(field string, value interface{})

func (*Value) UnmarshalJSON

func (v *Value) UnmarshalJSON(data []byte) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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