1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-08-08 03:45:21 +08:00
parent 1449b7c61e
commit 7d415f29d0

View File

@ -1,5 +1,15 @@
package %s
package {{.Option "zone"}}
func init() {
import (
"shylinux.com/x/ice"
)
type {{.Option "name"}} struct {
list string `name:"list path auto" help:"示例"`
}
func (s {{.Option "name"}}) List(m *ice.Message, arg ...string) {
m.Echo("hello world")
}
func init() { ice.Cmd("{{.Option "key"}}", {{.Option "name"}}{}) }