Versions in this module Expand all Collapse all v1 v1.0.4 Mar 18, 2021 v1.0.3 Mar 16, 2021 Changes in this version + func GetFunctions() map[string]string + type CodeLine struct + Code string + Line int + Ok bool + type FuncContext struct + func NewFuncContext() *FuncContext + type FuncParser struct + Codes []*CodeLine + FunCtx *FuncContext + func NewFuncParser(funCtx *FuncContext, codes []*CodeLine) *FuncParser + func (fp *FuncParser) Parse() ([]*Function, error) + type Function struct + Args []string + ArgsValue []string + Code *CodeLine + Name string + Return string + ReturnName string + Skip bool + func ParseFunctions(codes []*CodeLine) ([]*Function, error) + type TestFunctions struct + func (f *TestFunctions) Assert(v1 string, op string, v2 string) bool + func (f *TestFunctions) Foreach(v1 string, op string, v2 string) bool + func (f *TestFunctions) Len(t string) int + func (f *TestFunctions) Match(str string, reg string) string + func (f *TestFunctions) Print(o interface{}) bool + func (f *TestFunctions) Replace(str string, old string, new string) string + func (f *TestFunctions) Set(key string, value string) bool + func (f *TestFunctions) Sleep(t string) bool + func (f *TestFunctions) ToLower(str string) string + func (f *TestFunctions) ToUpper(str string) string + func (f *TestFunctions) While(v1 string, op string, v2 string) bool