eltengo

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calc

func Calc(s string) (float64, error)

This function can calculate simple data. For example: Calc("1+(2*3)/5")

Types

type Executor

type Executor func(map[string]interface{}) (result *tengo.Variable, err error)

func New

func New(s string) Executor

Create a executor.

Jump to

Keyboard shortcuts

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