This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-02-28 14:23:34 +08:00
parent 54359bf597
commit 78dac8b525
4 changed files with 9 additions and 13 deletions

4
go.mod
View File

@ -9,8 +9,8 @@ require (
)
require (
shylinux.com/x/ice v1.5.68
shylinux.com/x/icebergs v1.9.70
shylinux.com/x/ice v1.5.69
shylinux.com/x/icebergs v1.9.71
shylinux.com/x/toolkits v1.0.18
)

6
go.sum
View File

@ -199,10 +199,12 @@ shylinux.com/x/go-qrcode v0.0.3/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4O
shylinux.com/x/go-sql-mysql v0.0.2/go.mod h1:lHjRMZz5Lii6U+49fhkbCWgsnL+yux54SYJYWqASN8Y=
shylinux.com/x/golang-story v0.0.31 h1:qKEvSRrjn2tV15R5IXWkYFOYveEMztPQaD+Cv8TlHTg=
shylinux.com/x/golang-story v0.0.31/go.mod h1:r8PJE6UYjzJK7H5Hd2b1j5RB3qvE0dQl5zN0HY24Q0g=
shylinux.com/x/ice v1.5.68 h1:oFUpwJS3ER6pAmdpHAyQrVdc4YozcHPuRn2UJmUtpFo=
shylinux.com/x/ice v1.5.68/go.mod h1:LjHSkg3o+kT3k6lSFJVreez6qiI9ghpnr9Ql94k3+Iw=
shylinux.com/x/icebergs v1.9.70 h1:NyoMrTX1Dtf0HosB7GNAO8NODZabdcNw1ZZLSfbhUDw=
shylinux.com/x/ice v1.5.69 h1:ooWBFiY6cfMmamyjiQvTRZIacyrg3Te+97iuGOQgp7k=
shylinux.com/x/ice v1.5.69/go.mod h1:gZLXlXi58yWdW0HP3c4K/IFS8my43DId6ke3vvXiq1k=
shylinux.com/x/icebergs v1.9.70/go.mod h1:+4bl7yJRMFtlTQRDLd+xh6b0hwXkqWaHLmx63Jeewwk=
shylinux.com/x/icebergs v1.9.71 h1:h31b/MsEXinqDiVygbCLdiFVDLEhNpiwD4Q+U2tg/iU=
shylinux.com/x/icebergs v1.9.71/go.mod h1:+4bl7yJRMFtlTQRDLd+xh6b0hwXkqWaHLmx63Jeewwk=
shylinux.com/x/mysql-story v0.6.31 h1:QEaVKwN1WtKBNKRdDNpySVBO6WswSnJjUEY6tA9vDpk=
shylinux.com/x/mysql-story v0.6.31/go.mod h1:ZBN9ZkJk/J2Zq66lMs/XRMIoAX2gwHpDhIL9xsYEtEY=
shylinux.com/x/toolkits v0.7.10/go.mod h1:CHDJarGlDkg60kVsvMLYL/a5hAnRLEOShiEsMOuEp0Q=

View File

@ -69,10 +69,8 @@ func (s service) Autogen(m *ice.Message, arg ...string) {
cmd := func(arg ...string) { m.Cmd(web.SPACE, m.Option(web.DREAM), arg) }
if m.Option(web.DREAM) != "" {
option := func(ctx, mod string) { cmd(code.AUTOGEN, code.IMPORT, mod, ctx, nfs.SRC_OPTION_GO) }
option("shylinux.com/x/mysql-story", "db/mysql")
option("shylinux.com/x/mysql-story", "db/sqlite")
option("shylinux.com/x/community", "gonganxitong")
option("shylinux.com/x/community", "renzhengshouquan")
option("shylinux.com/x/ice", "devops")
option("shylinux.com/x/ice", "portal")
demo := func(p string) { cmd(nfs.SAVE, p, m.Cmdx(nfs.CAT, p)) }
demo("src/template/web.code.autogen/demo.go")
demo("src/template/web.code.go/demo.go")

View File

@ -2,9 +2,5 @@ package main
import (
_ "shylinux.com/x/ice/devops"
_ "shylinux.com/x/mysql-story/src/db/mysql"
_ "shylinux.com/x/mysql-story/src/db/sqlite"
_ "shylinux.com/x/community/src/renzhengshouquan"
_ "shylinux.com/x/community/src/renzhengshouquan/external"
_ "shylinux.com/x/ice/portal"
)