1
0
forked from x/icebergs
icebergs/core/code/code.go
2023-10-12 20:14:15 +08:00

21 lines
480 B
Go

package code
import (
ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/web"
kit "shylinux.com/x/toolkits"
)
const CODE = "code"
var Index = &ice.Context{Name: CODE, Help: "编程中心"}
func init() {
web.Index.Register(Index, &web.Frame{},
WEBPACK, BINPACK, AUTOGEN, COMPILE, PUBLISH, UPGRADE, INSTALL,
XTERM, INNER, VIMER, BENCH, PPROF,
TEMPLATE, COMPLETE, NAVIGATE,
)
}
func Prefix(arg ...ice.Any) string { return web.Prefix(CODE, kit.Keys(arg...)) }