From 4fd4fba9a8103449334623d7a4c3964be8a144fb Mon Sep 17 00:00:00 2001 From: Bai Yingjie Date: Mon, 20 Dec 2021 02:14:22 +0000 Subject: [PATCH] extension: add asbench echo pidinfo shell topidchart fileserver recorder --- Makefile | 5 ++- extension/extension.go | 9 ++++ ...ub_com-godevsig-grepo-benchmark-asbench.go | 26 ++++++++++++ ...ub_com-godevsig-grepo-example-echo-echo.go | 26 ++++++++++++ .../github_com-godevsig-grepo-example-echo.go | 41 +++++++++++++++++++ ...thub_com-godevsig-grepo-lib-sys-pidinfo.go | 32 +++++++++++++++ ...github_com-godevsig-grepo-lib-sys-shell.go | 7 +++- ...devsig-grepo-perf-topidchart-topidchart.go | 21 ++++++++++ ...thub_com-godevsig-grepo-perf-topidchart.go | 36 ++++++++++++++++ .../github_com-godevsig-grepo-render-docit.go | 22 ++++++++++ ...thub_com-godevsig-grepo-util-fileserver.go | 20 +++++++++ ...m-godevsig-grepo-util-recorder-recorder.go | 18 ++++++++ ...github_com-godevsig-grepo-util-recorder.go | 29 +++++++++++++ go.mod | 4 +- go.sum | 23 ++++++++++- 15 files changed, 313 insertions(+), 6 deletions(-) create mode 100644 extension/github_com-godevsig-grepo-benchmark-asbench.go create mode 100644 extension/github_com-godevsig-grepo-example-echo-echo.go create mode 100644 extension/github_com-godevsig-grepo-example-echo.go create mode 100644 extension/github_com-godevsig-grepo-lib-sys-pidinfo.go create mode 100644 extension/github_com-godevsig-grepo-perf-topidchart-topidchart.go create mode 100644 extension/github_com-godevsig-grepo-perf-topidchart.go create mode 100644 extension/github_com-godevsig-grepo-render-docit.go create mode 100644 extension/github_com-godevsig-grepo-util-fileserver.go create mode 100644 extension/github_com-godevsig-grepo-util-recorder-recorder.go create mode 100644 extension/github_com-godevsig-grepo-util-recorder.go diff --git a/Makefile b/Makefile index d4219fd..21a6cb0 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ PKG_ALL = $(shell go list ./...) GIT_TAG = $(shell git describe --tags --abbrev=0 2>/dev/null) COMMIT_REV = $(shell git rev-parse HEAD) STDTAGS := stdbase,stdcommon,stdruntime -EXTTAGS := adaptiveservice,shell,log +EXTTAGS := adaptiveservice,shell,log,pidinfo,asbench all: format lint vet test build @@ -49,9 +49,10 @@ build: dep @go build -tags $(STDTAGS),$(EXTTAGS) -ldflags="$(LDFLAGS)" -o bin ./cmd/gshell lite: LDFLAGS += -s -w +lite: EXTTAGS := $(EXTTAGS),echomsg,topidchartmsg,recordermsg lite: build ## Build lite release binary to bin dir -full: EXTTAGS := debug,$(EXTTAGS) +full: EXTTAGS := debug,$(EXTTAGS),echo,fileserver,topidchart,docit,recorder full: STDTAGS := $(STDTAGS),stdext,stdarchive,stdcompress,stdcontainer,stdcrypto,stddatabase,stdencoding full: STDTAGS := $(STDTAGS),stdhash,stdhtml,stdlog,stdmath,stdhttp,stdmail,stdrpc,stdregexp,stdtext,stdunicode full: build ## Build full release binary to bin dir diff --git a/extension/extension.go b/extension/extension.go index 783c86c..ec7129b 100644 --- a/extension/extension.go +++ b/extension/extension.go @@ -15,3 +15,12 @@ func init() { //go:generate ./gen_symbols.sh github.com/godevsig/adaptiveservice //go:generate ./gen_symbols.sh github.com/godevsig/grepo/lib/sys/shell //go:generate ./gen_symbols.sh github.com/godevsig/grepo/lib/sys/log -fixlog +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/util/fileserver + +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/example/echo -extramsg +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/benchmark/asbench + +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/lib/sys/pidinfo +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/perf/topidchart -extramsg +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/util/recorder -extramsg +//go:generate ./gen_symbols.sh github.com/godevsig/grepo/render/docit diff --git a/extension/github_com-godevsig-grepo-benchmark-asbench.go b/extension/github_com-godevsig-grepo-benchmark-asbench.go new file mode 100644 index 0000000..53c88a7 --- /dev/null +++ b/extension/github_com-godevsig-grepo-benchmark-asbench.go @@ -0,0 +1,26 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/benchmark/asbench'. DO NOT EDIT. + +// +build asbench + +package extension + +import ( + "github.com/godevsig/grepo/benchmark/asbench" + "go/constant" + "go/token" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/benchmark/asbench/asbench"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewServer": reflect.ValueOf(asbench.NewServer), + "Publisher": reflect.ValueOf(constant.MakeFromLiteral("\"benchmark\"", token.STRING, 0)), + "Service": reflect.ValueOf(constant.MakeFromLiteral("\"asbench\"", token.STRING, 0)), + + // type definitions + "DownloadRequest": reflect.ValueOf((*asbench.DownloadRequest)(nil)), + "Server": reflect.ValueOf((*asbench.Server)(nil)), + "UploadRequest": reflect.ValueOf((*asbench.UploadRequest)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-example-echo-echo.go b/extension/github_com-godevsig-grepo-example-echo-echo.go new file mode 100644 index 0000000..f87e282 --- /dev/null +++ b/extension/github_com-godevsig-grepo-example-echo-echo.go @@ -0,0 +1,26 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/example/echo/echo'. DO NOT EDIT. + +// +build echomsg + +package extension + +import ( + "github.com/godevsig/grepo/example/echo/echo" + "go/constant" + "go/token" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/example/echo/echo/echo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Publisher": reflect.ValueOf(constant.MakeFromLiteral("\"example\"", token.STRING, 0)), + "ServiceEcho": reflect.ValueOf(constant.MakeFromLiteral("\"echo.v1.0\"", token.STRING, 0)), + + // type definitions + "Reply": reflect.ValueOf((*echo.Reply)(nil)), + "Request": reflect.ValueOf((*echo.Request)(nil)), + "SubWhoElseEvent": reflect.ValueOf((*echo.SubWhoElseEvent)(nil)), + "WhoElse": reflect.ValueOf((*echo.WhoElse)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-example-echo.go b/extension/github_com-godevsig-grepo-example-echo.go new file mode 100644 index 0000000..9478679 --- /dev/null +++ b/extension/github_com-godevsig-grepo-example-echo.go @@ -0,0 +1,41 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/example/echo'. DO NOT EDIT. + +// +build echo + +package extension + +import ( + "github.com/godevsig/grepo/example/echo" + "go/constant" + "go/token" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/example/echo/echo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewServer": reflect.ValueOf(echo.NewServer), + "Publisher": reflect.ValueOf(constant.MakeFromLiteral("\"example\"", token.STRING, 0)), + "ServiceEcho": reflect.ValueOf(constant.MakeFromLiteral("\"echo.v1.0\"", token.STRING, 0)), + + // type definitions + "Reply": reflect.ValueOf((*echo.Reply)(nil)), + "Request": reflect.ValueOf((*echo.Request)(nil)), + "Server": reflect.ValueOf((*echo.Server)(nil)), + "SubWhoElseEvent": reflect.ValueOf((*echo.SubWhoElseEvent)(nil)), + "WhoElse": reflect.ValueOf((*echo.WhoElse)(nil)), + } +} +func init() { + Symbols["github.com/godevsig/grepo/example/echo/echo/echo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Publisher": reflect.ValueOf(constant.MakeFromLiteral("\"example\"", token.STRING, 0)), + "ServiceEcho": reflect.ValueOf(constant.MakeFromLiteral("\"echo.v1.0\"", token.STRING, 0)), + + // type definitions + "Reply": reflect.ValueOf((*echo.Reply)(nil)), + "Request": reflect.ValueOf((*echo.Request)(nil)), + "SubWhoElseEvent": reflect.ValueOf((*echo.SubWhoElseEvent)(nil)), + "WhoElse": reflect.ValueOf((*echo.WhoElse)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-lib-sys-pidinfo.go b/extension/github_com-godevsig-grepo-lib-sys-pidinfo.go new file mode 100644 index 0000000..e370234 --- /dev/null +++ b/extension/github_com-godevsig-grepo-lib-sys-pidinfo.go @@ -0,0 +1,32 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/lib/sys/pidinfo'. DO NOT EDIT. + +// +build pidinfo + +package extension + +import ( + "github.com/godevsig/grepo/lib/sys/pidinfo" + "go/constant" + "go/token" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/lib/sys/pidinfo/pidinfo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "CheckAllTask": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "CheckChild": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CheckPss": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CheckSingle": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CheckThread": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NewPidInfo": reflect.ValueOf(pidinfo.NewPidInfo), + "NewSysInfo": reflect.ValueOf(pidinfo.NewSysInfo), + "Pidof": reflect.ValueOf(pidinfo.Pidof), + + // type definitions + "PidInfo": reflect.ValueOf((*pidinfo.PidInfo)(nil)), + "ProcessStat": reflect.ValueOf((*pidinfo.ProcessStat)(nil)), + "SysInfo": reflect.ValueOf((*pidinfo.SysInfo)(nil)), + "TidInfo": reflect.ValueOf((*pidinfo.TidInfo)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-lib-sys-shell.go b/extension/github_com-godevsig-grepo-lib-sys-shell.go index 66df82f..66a3cac 100644 --- a/extension/github_com-godevsig-grepo-lib-sys-shell.go +++ b/extension/github_com-godevsig-grepo-lib-sys-shell.go @@ -12,6 +12,11 @@ import ( func init() { Symbols["github.com/godevsig/grepo/lib/sys/shell/shell"] = map[string]reflect.Value{ // function, constant and variable definitions - "Run": reflect.ValueOf(shell.Run), + "New": reflect.ValueOf(shell.New), + "Run": reflect.ValueOf(shell.Run), + "RunWith": reflect.ValueOf(shell.RunWith), + + // type definitions + "Shell": reflect.ValueOf((*shell.Shell)(nil)), } } diff --git a/extension/github_com-godevsig-grepo-perf-topidchart-topidchart.go b/extension/github_com-godevsig-grepo-perf-topidchart-topidchart.go new file mode 100644 index 0000000..ef579ff --- /dev/null +++ b/extension/github_com-godevsig-grepo-perf-topidchart-topidchart.go @@ -0,0 +1,21 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/perf/topidchart/topidchart'. DO NOT EDIT. + +// +build topidchartmsg + +package extension + +import ( + "github.com/godevsig/grepo/perf/topidchart/topidchart" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/perf/topidchart/topidchart/topidchart"] = map[string]reflect.Value{ + // type definitions + "ProcessInfo": reflect.ValueOf((*topidchart.ProcessInfo)(nil)), + "Record": reflect.ValueOf((*topidchart.Record)(nil)), + "SessionRequest": reflect.ValueOf((*topidchart.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*topidchart.SessionResponse)(nil)), + "SysInfo": reflect.ValueOf((*topidchart.SysInfo)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-perf-topidchart.go b/extension/github_com-godevsig-grepo-perf-topidchart.go new file mode 100644 index 0000000..1e6963b --- /dev/null +++ b/extension/github_com-godevsig-grepo-perf-topidchart.go @@ -0,0 +1,36 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/perf/topidchart'. DO NOT EDIT. + +// +build topidchart + +package extension + +import ( + "github.com/godevsig/grepo/perf/topidchart" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/perf/topidchart/topidchart"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewServer": reflect.ValueOf(topidchart.NewServer), + "ParseFile": reflect.ValueOf(topidchart.ParseFile), + + // type definitions + "ProcessInfo": reflect.ValueOf((*topidchart.ProcessInfo)(nil)), + "Record": reflect.ValueOf((*topidchart.Record)(nil)), + "Server": reflect.ValueOf((*topidchart.Server)(nil)), + "SessionRequest": reflect.ValueOf((*topidchart.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*topidchart.SessionResponse)(nil)), + "SysInfo": reflect.ValueOf((*topidchart.SysInfo)(nil)), + } +} +func init() { + Symbols["github.com/godevsig/grepo/perf/topidchart/topidchart/topidchart"] = map[string]reflect.Value{ + // type definitions + "ProcessInfo": reflect.ValueOf((*topidchart.ProcessInfo)(nil)), + "Record": reflect.ValueOf((*topidchart.Record)(nil)), + "SessionRequest": reflect.ValueOf((*topidchart.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*topidchart.SessionResponse)(nil)), + "SysInfo": reflect.ValueOf((*topidchart.SysInfo)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-render-docit.go b/extension/github_com-godevsig-grepo-render-docit.go new file mode 100644 index 0000000..e4c8e90 --- /dev/null +++ b/extension/github_com-godevsig-grepo-render-docit.go @@ -0,0 +1,22 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/render/docit'. DO NOT EDIT. + +// +build docit + +package extension + +import ( + "github.com/godevsig/grepo/render/docit" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/render/docit/docit"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewServer": reflect.ValueOf(docit.NewServer), + + // type definitions + "HTMLResponse": reflect.ValueOf((*docit.HTMLResponse)(nil)), + "MarkdownRequest": reflect.ValueOf((*docit.MarkdownRequest)(nil)), + "Server": reflect.ValueOf((*docit.Server)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-util-fileserver.go b/extension/github_com-godevsig-grepo-util-fileserver.go new file mode 100644 index 0000000..a95c139 --- /dev/null +++ b/extension/github_com-godevsig-grepo-util-fileserver.go @@ -0,0 +1,20 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/util/fileserver'. DO NOT EDIT. + +// +build fileserver + +package extension + +import ( + "github.com/godevsig/grepo/util/fileserver" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/util/fileserver/fileserver"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewFileServer": reflect.ValueOf(fileserver.NewFileServer), + + // type definitions + "FileServer": reflect.ValueOf((*fileserver.FileServer)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-util-recorder-recorder.go b/extension/github_com-godevsig-grepo-util-recorder-recorder.go new file mode 100644 index 0000000..b914940 --- /dev/null +++ b/extension/github_com-godevsig-grepo-util-recorder-recorder.go @@ -0,0 +1,18 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/util/recorder/recorder'. DO NOT EDIT. + +// +build recordermsg + +package extension + +import ( + "github.com/godevsig/grepo/util/recorder/recorder" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/util/recorder/recorder/recorder"] = map[string]reflect.Value{ + // type definitions + "SessionRequest": reflect.ValueOf((*recorder.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*recorder.SessionResponse)(nil)), + } +} diff --git a/extension/github_com-godevsig-grepo-util-recorder.go b/extension/github_com-godevsig-grepo-util-recorder.go new file mode 100644 index 0000000..adcd827 --- /dev/null +++ b/extension/github_com-godevsig-grepo-util-recorder.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract github.com/godevsig/grepo/util/recorder'. DO NOT EDIT. + +// +build recorder + +package extension + +import ( + "github.com/godevsig/grepo/util/recorder" + "reflect" +) + +func init() { + Symbols["github.com/godevsig/grepo/util/recorder/recorder"] = map[string]reflect.Value{ + // function, constant and variable definitions + "NewServer": reflect.ValueOf(recorder.NewServer), + + // type definitions + "Server": reflect.ValueOf((*recorder.Server)(nil)), + "SessionRequest": reflect.ValueOf((*recorder.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*recorder.SessionResponse)(nil)), + } +} +func init() { + Symbols["github.com/godevsig/grepo/util/recorder/recorder/recorder"] = map[string]reflect.Value{ + // type definitions + "SessionRequest": reflect.ValueOf((*recorder.SessionRequest)(nil)), + "SessionResponse": reflect.ValueOf((*recorder.SessionResponse)(nil)), + } +} diff --git a/go.mod b/go.mod index 95c56e7..9c3644b 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,11 @@ go 1.16 require ( github.com/godevsig/adaptiveservice v0.9.16 - github.com/godevsig/grepo v0.0.5 + github.com/godevsig/grepo v0.1.0 github.com/mattn/go-runewidth v0.0.13 // indirect github.com/traefik/yaegi v0.11.1 ) replace github.com/niubaoshu/gotiny => github.com/godevsig/gotiny v0.0.4-0.20210913173728-083dd4b72177 + +replace github.com/go-echarts/go-echarts/v2 => github.com/godevsig/go-echarts/v2 v2.0.0-20211101104447-e8e4a51bc4fd diff --git a/go.sum b/go.sum index d74ade2..65ab6c3 100644 --- a/go.sum +++ b/go.sum @@ -1,11 +1,21 @@ github.com/barkimedes/go-deepcopy v0.0.0-20200817023428-a044a1957ca4 h1:iBbhlt5YmtL9QXsMVf/XPXgYBQLifn38Cdjc0J/+uYg= github.com/barkimedes/go-deepcopy v0.0.0-20200817023428-a044a1957ca4/go.mod h1:hiVxq5OP2bUGBRNS3Z/bt/reCLFNbdcST6gISi1fiOM= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/godevsig/adaptiveservice v0.9.16 h1:/mSs6RBY5t5JLYpka5V/m7wwWPsXH/d37W4dQnBojbc= github.com/godevsig/adaptiveservice v0.9.16/go.mod h1:t/MOA1DVvomK8ltOny8pbb8k1ZBYub6GvnTOs/M6Qkk= +github.com/godevsig/go-echarts/v2 v2.0.0-20211101104447-e8e4a51bc4fd h1:NXoy9fdgrEi4dREtTBQMRl5naGeHpYldnqjh5rmZgJk= +github.com/godevsig/go-echarts/v2 v2.0.0-20211101104447-e8e4a51bc4fd/go.mod h1:6TOomEztzGDVDkOSCFBq3ed7xOYfbOqhaBzD0YV771A= github.com/godevsig/gotiny v0.0.4-0.20210913173728-083dd4b72177 h1:Ga+4dO0xF4ejuZfKnHfEA/bqlNUc2XKNjpopVDhMjLM= github.com/godevsig/gotiny v0.0.4-0.20210913173728-083dd4b72177/go.mod h1:QdEauSzqdF5tbLIVtGYO6sqOhUKVPSZGd5x7xK5oeS4= -github.com/godevsig/grepo v0.0.5 h1:Dh+XQy03NRnmOuld2vxeL81OWeUIEBWA+oCvNTVOXnw= -github.com/godevsig/grepo v0.0.5/go.mod h1:TTod4iAuz7pl2bjVxqA7AECNLYlrYgChOK1IHzJz380= +github.com/godevsig/grepo v0.1.0 h1:4FmrkUKfQcexms1V+07o1pXBN1gjPKVj6CT4PmRIfiU= +github.com/godevsig/grepo v0.1.0/go.mod h1:lHdpRiWkhKpYBb7yCrZulQDo7WTj5WNq2+QRHbI3Kr8= +github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= @@ -13,7 +23,16 @@ github.com/niubaoshu/goutils v0.0.0-20180828035119-e8e576f66c2b h1:T7vmCmpGIvqlO github.com/niubaoshu/goutils v0.0.0-20180828035119-e8e576f66c2b/go.mod h1:aDwH4aWrEBXw/uvtSvwNwxdtnsx++aP8c8ad4AmlRCg= github.com/peterh/liner v1.2.1 h1:O4BlKaq/LWu6VRWmol4ByWfzx6MfXc5Op5HETyIy5yg= github.com/peterh/liner v1.2.1/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.6.0 h1:jlIyCplCJFULU/01vCkhKuTyc3OorI3bJFuw6obfgho= +github.com/stretchr/testify v1.6.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/traefik/yaegi v0.11.1 h1:MJpYUnRc/wNOQcdywGd/q2mCznZAiAch1V+Ae+XFVzc= github.com/traefik/yaegi v0.11.1/go.mod h1:RuCwD8/wsX7b6KoQHOaIFUfuH3gQIK4KWnFFmJMw5VA= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=