From ff6f1375eb660695cca7d5e0d3b3498dfc6855c8 Mon Sep 17 00:00:00 2001 From: shaoying Date: Tue, 25 Aug 2020 22:09:08 +0800 Subject: [PATCH] opt some --- etc/init.shy | 1 + go.mod | 1 + go.sum | 2 ++ src/main.go | 1 + src/main.shy | 28 +++++++++++++++------------- 5 files changed, 20 insertions(+), 13 deletions(-) diff --git a/etc/init.shy b/etc/init.shy index c830bd0b..6442bb43 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -45,4 +45,5 @@ target web.code.install target web.code.chrome.spided + target web.code.mysql.client diff --git a/go.mod b/go.mod index d2242b7e..2bb7b029 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/shylinux/contexts go 1.13 require ( + github.com/go-sql-driver/mysql v1.5.0 // indirect github.com/shylinux/golang-story v0.0.0-00010101000000-000000000000 github.com/shylinux/icebergs v0.2.7 github.com/shylinux/linux-story v0.0.0-00010101000000-000000000000 diff --git a/go.sum b/go.sum index a9765a6d..cba16c3a 100644 --- a/go.sum +++ b/go.sum @@ -11,6 +11,8 @@ github.com/go-gl/gl v0.0.0-20190320180904-bf2b1f2f34d7 h1:SCYMcCJ89LjRGwEa0tRluN github.com/go-gl/gl v0.0.0-20190320180904-bf2b1f2f34d7/go.mod h1:482civXOzJJCPzJ4ZOX/pwvXBWSnzD4OKMdH4ClKGbk= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200625191551-73d3c3675aa3 h1:q521PfSp5/z6/sD9FZZOWj4d1MLmfQW8PkRnI9M6PCE= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200625191551-73d3c3675aa3/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/godbus/dbus/v5 v5.0.3 h1:ZqHaoEF7TBzh4jzPmqVhE/5A1z9of6orkAe5uHoAeME= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/goki/freetype v0.0.0-20181231101311-fa8a33aabaff h1:W71vTCKoxtdXgnm1ECDFkfQnpdqAO00zzGXLA5yaEX8= diff --git a/src/main.go b/src/main.go index 90533259..fe1bb92f 100644 --- a/src/main.go +++ b/src/main.go @@ -22,6 +22,7 @@ import ( _ "github.com/shylinux/linux-story/src/busybox" _ "github.com/shylinux/linux-story/src/kernel" _ "github.com/shylinux/linux-story/src/qemu" + _ "github.com/shylinux/mysql-story/src/client" _ "github.com/shylinux/mysql-story/src/server" _ "github.com/shylinux/nginx-story/src/server" _ "github.com/shylinux/redis-story/src/client" diff --git a/src/main.shy b/src/main.shy index 105a5bad..687a4516 100644 --- a/src/main.shy +++ b/src/main.shy @@ -20,25 +20,19 @@ volcanos icebergs intshell learning toolkits contexts ` stroke red fill black -chapter "python" -refer ` -官网 https://www.python.org/ -源码 https://www.python.org/downloads/source/ -文档 https://docs.python.org/3/reference/index.html -` -field "解释器" cli.python - - -chapter "logo" -refer ` -艺术字 http://www.akuziti.com/ -` +chapter "管理" +field "下载管理" web.code.install +field "进程管理" cli.daemon chapter "Tech" field webpack web.code.webpack field binpack web.code.binpack field modpack web.code.modpack +chapter "Logo" +refer ` +艺术字 http://www.akuziti.com/ +` chapter "Raft" refer ` @@ -68,5 +62,13 @@ refer ` 源码 https://github.com/Supervisor/supervisor ` +chapter "python" +refer ` +官网 https://www.python.org/ +源码 https://www.python.org/downloads/source/ +文档 https://docs.python.org/3/reference/index.html +` +field "解释器" cli.python + source usr/icebergs/misc/es/es.shy