Documentation ¶
Index ¶
- Variables
- func Add(left interface{}, right interface{}) interface{}
- func AsBool(val interface{}) bool
- func BlackHole(obj interface{})
- func Call(callee interface{}, args ...interface{}) interface{}
- func Divide(left interface{}, right interface{}) interface{}
- func Dump(obj interface{}) string
- func EQ(left interface{}, right interface{}) bool
- func GE(left interface{}, right interface{}) bool
- func GT(left interface{}, right interface{}) bool
- func Get(obj interface{}, path ...interface{}) interface{}
- func LE(left interface{}, right interface{}) bool
- func LT(left interface{}, right interface{}) bool
- func Log(level int, event string, properties ...interface{})
- func Multiply(left interface{}, right interface{}) interface{}
- func NegativeOf(val interface{}) interface{}
- func ReportError(funcName string, jsSrc string, jsOffsets []int, goSrc string, goOffsets []int, ...)
- func Subtract(left interface{}, right interface{}) interface{}
- func ThriftSchemas(thriftIDL string) (map[string]*Schema, error)
- func Validate(obj interface{}, schema *Schema) (err error)
- type DList
- type DObject
- type JavascriptError
- type Object
- type Schema
- type Thrown
Constants ¶
This section is empty.
Variables ¶
View Source
var DateClass = NewObject()
View Source
var DebugJson = jsoniter.Config{ EscapeHTML: false, MarshalFloatWith6Digits: true, ObjectFieldMustBeSimpleString: true, SortMapKeys: true, }.Froze()
View Source
var DeltaJson = jsoniter.Config{ EscapeHTML: false, MarshalFloatWith6Digits: true, ObjectFieldMustBeSimpleString: true, }.Froze()
View Source
var Json = jsoniter.Config{ EscapeHTML: false, MarshalFloatWith6Digits: true, ObjectFieldMustBeSimpleString: true, }.Froze()
Functions ¶
func NegativeOf ¶
func NegativeOf(val interface{}) interface{}
func ReportError ¶
Types ¶
type DList ¶
type DList struct { Schema *Schema `json:"-"` // contains filtered or unexported fields }
type DObject ¶
type DObject struct { Schema *Schema `json:"-"` // contains filtered or unexported fields }
type JavascriptError ¶
type JavascriptError struct { Recovered interface{} // contains filtered or unexported fields }
func (*JavascriptError) Error ¶
func (err *JavascriptError) Error() string
func (*JavascriptError) MarshalJSON ¶
func (err *JavascriptError) MarshalJSON() ([]byte, error)
func (*JavascriptError) String ¶
func (err *JavascriptError) String() string
type Object ¶
type Object interface { Set(key interface{}, value interface{}) Get(key interface{}) interface{} }
Click to show internal directories.
Click to hide internal directories.