mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
opt some
This commit is contained in:
parent
4bd4084fd7
commit
99741e44d4
17
src/hi/hi.go
Normal file
17
src/hi/hi.go
Normal 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
3
src/hi/hi.shy
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
chapter "hi"
|
||||||
|
|
||||||
|
field "hi" web.code.hi.hi
|
Loading…
x
Reference in New Issue
Block a user