1
0
forked from x/ContextOS
This commit is contained in:
shylinux 2020-05-31 13:41:27 +08:00
parent 5e4ebceb66
commit e98456d0fc
4 changed files with 18 additions and 26 deletions

1
go.mod
View File

@ -3,6 +3,7 @@ module contexts
go 1.13
require (
github.com/gomarkdown/markdown v0.0.0-20200513213024-62c5e2c608cc // indirect
github.com/shylinux/icebergs v0.1.23
github.com/shylinux/toolkits v0.1.5
)

9
go.sum
View File

@ -1,4 +1,13 @@
github.com/gomarkdown/markdown v0.0.0-20200513213024-62c5e2c608cc h1:T+Fwk3llJdUIQeBI8fC/ARqRD5mWy3AE5I6ZU3VkIw8=
github.com/gomarkdown/markdown v0.0.0-20200513213024-62c5e2c608cc/go.mod h1:aii0r/K0ZnHv7G0KF7xy1v0A7s2Ljrb5byB7MO5p6TU=
github.com/google/uuid v1.1.0 h1:Jf4mxPC/ziBnoPIdpQdPJ9OeiomAUHLvxmPRSPH9m4s=
github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/maruel/rs v0.0.0-20150922171536-2c81c4312fe4 h1:u9jwvcKbQpghIXgNl/EOL8hzhAFXh4ePrEP493W3tNA=
github.com/maruel/rs v0.0.0-20150922171536-2c81c4312fe4/go.mod h1:kcRFpEzolcEklV6rD7W95mG49/sbdX/PlFmd7ni3RvA=
github.com/skip2/go-qrcode v0.0.0-20191027152451-9434209cb086 h1:RYiqpb2ii2Z6J4x0wxK46kvPBbFuZcdhS+CIztmYgZs=
github.com/skip2/go-qrcode v0.0.0-20191027152451-9434209cb086/go.mod h1:PLPIyL7ikehBD1OAjmKKiOEhbvWyHGaNDjquXMcYABo=
github.com/tuotoo/qrcode v0.0.0-20190222102259-ac9c44189bf2 h1:BWVtt2VBY+lmVDu9MGKqLGKl04B+iRHcrW1Ptyi/8tg=
github.com/tuotoo/qrcode v0.0.0-20190222102259-ac9c44189bf2/go.mod h1:lPnW9HVS0vJdeYyQtOvIvlXgZPNhUAhwz+z5r8AJk0Y=
golang.org/dl v0.0.0-20190829154251-82a15e2f2ead/go.mod h1:IUMfjQLJQd4UTqG1Z90tenwKoCX93Gn3MAQJMOSBsDQ=

View File

@ -10,6 +10,7 @@ import (
_ "github.com/shylinux/icebergs/misc/chrome"
_ "github.com/shylinux/icebergs/misc/input"
_ "github.com/shylinux/icebergs/misc/lark"
_ "github.com/shylinux/icebergs/misc/md"
_ "github.com/shylinux/icebergs/misc/mp"
_ "github.com/shylinux/icebergs/misc/pi"
_ "github.com/shylinux/icebergs/misc/wx"

View File

@ -1,34 +1,15 @@
Volcanos("onengine", { river: {
"main": {name: "main", storm: {
"IDE": {name: "IDE", action: [
{name: "editor", help: "编辑器", inputs: [
{type: "text", name: "path", action: "auto"},
"main": {name: "main", action: [
{name: "IDE", help: "集成开发环境", inputs: [
{type: "text", name: "path", value: "tmp", action: "auto"},
{type: "text", name: "name", value: "hi.go", action: "auto"},
{type: "text", name: "key", value: "", action: "auto"},
{type: "button", name: "打开", action: "auto"},
{type: "button", name: "返回"},
], index: "web.wiki.inner", feature: {display: "/plugin/inner.js"}},
{name: "golang", help: "编译器", inputs: [
{type: "text", name: "path", value: "go"},
{type: "text", name: "path", value: "run"},
{type: "text", name: "path", value: "hi.go"},
{type: "button", name: "执行"},
], index: "cli.system", feature: {}},
{name: "story", help: "故事会", inputs: [
{type: "text", name: "story", value: "hi.go", action: "auto"},
{type: "text", name: "key", action: "auto"},
{type: "button", name: "查看", action: "auto"},
{type: "button", name: "返回", action: "auto"},
], index: "web.story", feature: {}},
]},
"main": {name: "main", action: [
{name: "hello", help: "world", inputs: [
{type: "text", name: "path", value: "自然/编程/hi.shy", action: "auto"},
{type: "button", name: "查看", action: "auto"},
{type: "button", name: "返回"},
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js"}},
{name: "route", help: "路由", index: "route"},
{name: "status", help: "源码", index: "web.code.git.status"},
{type: "button", name: "提交"},
{type: "button", name: "历史"},
], index: "web.wiki.inner", feature: {display: "/plugin/inner.js", style: "editor"}},
]},
"word": {name: "word", action: [
{name: "trans", help: "词汇", inputs: [