forked from x/ContextOS
opt some
This commit is contained in:
parent
7c0f8752b3
commit
2bc5476726
@ -47,8 +47,6 @@ import (
|
|||||||
|
|
||||||
_ "shylinux.com/x/golang-story/src/data"
|
_ "shylinux.com/x/golang-story/src/data"
|
||||||
_ "shylinux.com/x/golang-story/src/data/leecode"
|
_ "shylinux.com/x/golang-story/src/data/leecode"
|
||||||
|
|
||||||
_ "shylinux.com/x/contexts/src/h2"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() { print(ice.Run()) }
|
func main() { print(ice.Run()) }
|
19
src/main.shy
19
src/main.shy
@ -1,22 +1,3 @@
|
|||||||
field "src/hi/hi.go" web.code.inner spark `
|
|
||||||
package hi
|
|
||||||
|
|
||||||
import (
|
|
||||||
"shylinux.com/x/ice"
|
|
||||||
)
|
|
||||||
|
|
||||||
type hi struct {
|
|
||||||
ice.Zone
|
|
||||||
}
|
|
||||||
|
|
||||||
func (h hi) List(m *ice.Message, arg ...string) {
|
|
||||||
h.Zone.List(m, arg...)
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { ice.Cmd("web.code.hi.hi", hi{}) }
|
|
||||||
`
|
|
||||||
return
|
|
||||||
|
|
||||||
title "contexts"
|
title "contexts"
|
||||||
refer `
|
refer `
|
||||||
官网 https://contexts.com.cn
|
官网 https://contexts.com.cn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user