1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
harveyshao 2022-01-23 16:53:31 +08:00
parent 4bd4084fd7
commit 99741e44d4
2 changed files with 20 additions and 0 deletions

17
src/hi/hi.go Normal file
View File

@ -0,0 +1,17 @@
package hi
import (
"shylinux.com/x/ice"
)
type hi struct {
ice.Zone
list string `name:"hi zone id auto insert" help:"hi"`
}
func (h hi) List(m *ice.Message, arg ...string) {
h.Zone.List(m, arg...)
}
func init() { ice.Cmd("web.code.hi.hi", hi{}) }

3
src/hi/hi.shy Normal file
View File

@ -0,0 +1,3 @@
chapter "hi"
field "hi" web.code.hi.hi