1
0
forked from x/ContextOS
This commit is contained in:
harveyshao 2022-03-03 14:43:17 +08:00
parent 4be6f7acae
commit 4489edf0c1
12 changed files with 10 additions and 70 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.11
require shylinux.com/x/ice v0.7.7
require (
shylinux.com/x/golang-story v0.3.5
shylinux.com/x/golang-story v0.3.6
shylinux.com/x/linux-story v0.3.4
shylinux.com/x/mysql-story v0.3.6
shylinux.com/x/nginx-story v0.3.6

4
go.sum
View File

@ -2,8 +2,8 @@ shylinux.com/x/go-qrcode v0.0.1 h1:/eOGqMj1qtgs9Ymd12zTUa1gcJZs9S92kj2lb0QzKsE=
shylinux.com/x/go-qrcode v0.0.1/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4ODm4po=
shylinux.com/x/go-sql-mysql v0.0.1 h1:VX5SrwLBKzfkRouj39LgJ9reIXOWmMsScRpr+e0qdp0=
shylinux.com/x/go-sql-mysql v0.0.1/go.mod h1:47OfAZK24HRJMy7dAu/jrksGCf9yzJaAUFwWYjhDFDA=
shylinux.com/x/golang-story v0.3.5 h1:52GzwjyFSL1/opzcIcZnSCK6V5wj0cNlyeTYvgq+l0g=
shylinux.com/x/golang-story v0.3.5/go.mod h1:4nkJ5zyhNNC2ulPsf6WowneJ+axCw8eWMpsLwiQrvgg=
shylinux.com/x/golang-story v0.3.6 h1:3yMPRZK/bW9oaWquhlagJZq8LTLY3sQxrt+rvkSrGO4=
shylinux.com/x/golang-story v0.3.6/go.mod h1:4nkJ5zyhNNC2ulPsf6WowneJ+axCw8eWMpsLwiQrvgg=
shylinux.com/x/ice v0.7.6/go.mod h1:cnR4S2jWpPKuUsmnnul1gZCIZeuFeO17ieHbXmWjwpM=
shylinux.com/x/ice v0.7.7 h1:rM7mREc4sZQi54p68pBdxP9yyGj139X9EFvJ6nv2A1Y=
shylinux.com/x/ice v0.7.7/go.mod h1:IgRTxU8QmUXY+Kn2RGo45c1cKY8A8+gHZCuDxFvsfPs=

View File

@ -1,20 +0,0 @@
package main
import (
"os"
"path"
"time"
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/cli"
"shylinux.com/x/icebergs/base/tcp"
"shylinux.com/x/icebergs/base/web"
"shylinux.com/x/icebergs/misc/app"
)
func main() {
os.Chdir(path.Join(os.Getenv(cli.HOME), "contexts"))
go ice.Run(web.SERVE, tcp.START)
time.Sleep(time.Second)
app.Run()
}

View File

@ -2,10 +2,10 @@ module shylinux.com/x/contexts
go 1.11
require shylinux.com/x/ice v0.7.7
require shylinux.com/x/ice v0.7.8
require (
shylinux.com/x/golang-story v0.3.5
shylinux.com/x/golang-story v0.3.6
shylinux.com/x/linux-story v0.3.4
shylinux.com/x/mysql-story v0.3.6
shylinux.com/x/nginx-story v0.3.6

View File

@ -1 +0,0 @@
<svg vertion="1.1" xmlns="https://www.w3.org/2000/svg" text-anchor="middle" dominant-baseline="middle" height="385" width="750" count="20" pid="p1" grid="10" stroke-width="2" stroke="yellow" fill="purple" font-size="24"><g><rect height="60" width="140" ry="4" rx="4" x="170" y="50" pid="p20" class="p20"></rect></g></svg>

Before

Width:  |  Height:  |  Size: 321 B

View File

View File

@ -1,5 +0,0 @@
#! /bin/sh
show() {
echo "base sh"
}

View File

@ -1,21 +0,0 @@
package main
import (
"shylinux.com/x/ice"
)
func main() {
ice.App("/admin", "管理", `
libra
dev 开发
cli.qrcode
cli.runtime
`)
ice.App("/vip", "会员", `
libra
dev 开发
cli.runtime
cli.qrcode
`)
ice.RunServe("port", "9090")
}

View File

@ -5,7 +5,7 @@ go 1.11
require shylinux.com/x/ice v0.7.7
require (
shylinux.com/x/golang-story v0.3.5
shylinux.com/x/golang-story v0.3.6
shylinux.com/x/linux-story v0.3.4
shylinux.com/x/mysql-story v0.3.6
shylinux.com/x/nginx-story v0.3.6

View File

@ -2,8 +2,8 @@ shylinux.com/x/go-qrcode v0.0.1 h1:/eOGqMj1qtgs9Ymd12zTUa1gcJZs9S92kj2lb0QzKsE=
shylinux.com/x/go-qrcode v0.0.1/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4ODm4po=
shylinux.com/x/go-sql-mysql v0.0.1 h1:VX5SrwLBKzfkRouj39LgJ9reIXOWmMsScRpr+e0qdp0=
shylinux.com/x/go-sql-mysql v0.0.1/go.mod h1:47OfAZK24HRJMy7dAu/jrksGCf9yzJaAUFwWYjhDFDA=
shylinux.com/x/golang-story v0.3.5 h1:52GzwjyFSL1/opzcIcZnSCK6V5wj0cNlyeTYvgq+l0g=
shylinux.com/x/golang-story v0.3.5/go.mod h1:4nkJ5zyhNNC2ulPsf6WowneJ+axCw8eWMpsLwiQrvgg=
shylinux.com/x/golang-story v0.3.6 h1:3yMPRZK/bW9oaWquhlagJZq8LTLY3sQxrt+rvkSrGO4=
shylinux.com/x/golang-story v0.3.6/go.mod h1:4nkJ5zyhNNC2ulPsf6WowneJ+axCw8eWMpsLwiQrvgg=
shylinux.com/x/ice v0.7.6/go.mod h1:cnR4S2jWpPKuUsmnnul1gZCIZeuFeO17ieHbXmWjwpM=
shylinux.com/x/ice v0.7.7 h1:rM7mREc4sZQi54p68pBdxP9yyGj139X9EFvJ6nv2A1Y=
shylinux.com/x/ice v0.7.7/go.mod h1:IgRTxU8QmUXY+Kn2RGo45c1cKY8A8+gHZCuDxFvsfPs=

View File

@ -1,5 +1,5 @@
hi
h1
hi/he.js "示例"
hi/hi.sh
hi/hi.go
hi/hi.js
hi/hi.js

View File

@ -1,13 +0,0 @@
{
"hi": {
"name": "示例",
"storm": {
"hi": {
"name": "示例",
"list": [
{"index": "cli.qrcode"}
]
}
}
}
}