1
0
forked from x/ContextOS
ContextOS/src/ice.go
2021-08-18 12:41:54 +08:00

16 lines
274 B
Go

package main
import (
"shylinux/x/ice"
)
func main() {
ice.App("web.demo", "/tool/", func(p *ice.Page) {
p.Cmd("nav", &ice.Nav{Home: "./", Prefix: "/tool"})
p.Cmd("cli.system", ice.Arg("pwd"))
p.Cmd("hash", &ice.Hash{})
p.Home = "./"
})
ice.RunServe("9090")
}