Documentation
¶
Index ¶
- type Eek
- func (e *Eek) Build() error
- func (e *Eek) DefineFunction(fun Func)
- func (e *Eek) DefineVariable(variable Var)
- func (e *Eek) Evaluate(data ExecVar) (interface{}, error)
- func (e *Eek) ImportPackage(dependencies ...string)
- func (e *Eek) PrepareEvaluation(operation string)
- func (e *Eek) SetBaseBuildPath(baseBuildPath string)
- func (e *Eek) SetName(name string)
- type ExecVar
- type Func
- type Var
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eek ¶
type Eek struct { UseCachedBuildForSameFormula bool // contains filtered or unexported fields }
Eek is main type used on the evaluation
func New ¶
New used to create eek object. This function accept an optional variable that will be used as the evaluation name
func (*Eek) DefineFunction ¶
DefineFunction used to define reusable functions that will be used in the operation
func (*Eek) DefineVariable ¶
DefineVariable used to define variables that will be used in the operation
func (*Eek) ImportPackage ¶
ImportPackage specify which packages will be imported
func (*Eek) PrepareEvaluation ¶
PrepareEvaluation prepare the layout of evaluation string
func (*Eek) SetBaseBuildPath ¶
SetBaseBuildPath set the base build path. Every so file generated from build will be stored into <baseBuildPath>/<name>/<name>.so
type ExecVar ¶
type ExecVar map[string]interface{}
ExecVar is used on defining value in the evaluation
Click to show internal directories.
Click to hide internal directories.