Documentation
¶
Index ¶
- func AddFun(name string, fun interface{}) error
- func Fun(in interface{}) (res interface{}, err error)
- type Enviroment
- type EnviromentNode
- type ErrorDuplicateFunctionName
- type ErrorInvalidDate
- type ErrorInvalidSignature
- type ErrorMapKeyMissing
- type ErrorNilFunction
- type ErrorNoPath
- type ErrorNotFunction
- type ErrorNotInteger
- type ErrorNotNumber
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enviroment ¶
type Enviroment map[string]interface{}
type EnviromentNode ¶
type EnviromentNode struct {
Enviroment
// contains filtered or unexported fields
}
func (*EnviromentNode) Child ¶
func (en *EnviromentNode) Child(e Enviroment) *EnviromentNode
func (*EnviromentNode) FirstKey ¶
func (en *EnviromentNode) FirstKey(k string) (interface{}, bool)
func (*EnviromentNode) Parent ¶
func (en *EnviromentNode) Parent() *EnviromentNode
func (*EnviromentNode) Process ¶
func (e *EnviromentNode) Process(in interface{}) (interface{}, error)
type ErrorDuplicateFunctionName ¶
type ErrorDuplicateFunctionName struct{ Name string }
func (ErrorDuplicateFunctionName) Error ¶
func (e ErrorDuplicateFunctionName) Error() string
type ErrorInvalidDate ¶
type ErrorInvalidDate struct {
Input, Format string
}
func (ErrorInvalidDate) Error ¶
func (e ErrorInvalidDate) Error() string
type ErrorInvalidSignature ¶
type ErrorInvalidSignature struct{ Fun interface{} }
func (ErrorInvalidSignature) Error ¶
func (e ErrorInvalidSignature) Error() string
type ErrorMapKeyMissing ¶
func (ErrorMapKeyMissing) Error ¶
func (e ErrorMapKeyMissing) Error() string
type ErrorNilFunction ¶
type ErrorNilFunction struct{}
AddFun error types.
func (ErrorNilFunction) Error ¶
func (e ErrorNilFunction) Error() string
type ErrorNoPath ¶
type ErrorNoPath struct {
Key string
Val interface{}
}
func (ErrorNoPath) Error ¶
func (e ErrorNoPath) Error() string
type ErrorNotFunction ¶
func (ErrorNotFunction) Error ¶
func (e ErrorNotFunction) Error() string
type ErrorNotInteger ¶
type ErrorNotInteger struct {
Input string
}
func (ErrorNotInteger) Error ¶
func (e ErrorNotInteger) Error() string
type ErrorNotNumber ¶
type ErrorNotNumber struct {
Input string
}
func (ErrorNotNumber) Error ¶
func (e ErrorNotNumber) Error() string
Click to show internal directories.
Click to hide internal directories.