mirror of
https://shylinux.com/x/community
synced 2025-05-08 06:46:55 +08:00
17 lines
412 B
Go
17 lines
412 B
Go
package {{.Option "zone"}}
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type {{.Option "name"}} struct {
|
|
Tables
|
|
fields string `data:"title,content,user_uid"`
|
|
create string `name:"create title* content*" role:"leader"`
|
|
remove string `name:"remove" role:"leader"`
|
|
}
|
|
|
|
func (s {{.Option "name"}}) List(m *ice.Message, arg ...string) {
|
|
// s.ValueList(m, arg).Display("")
|
|
}
|
|
|
|
func init() { ice.TeamCtxCmd({{.Option "name"}}{}) }
|