mirror of
https://shylinux.com/x/operation
synced 2025-04-28 11:22:02 +08:00
15 lines
365 B
Go
15 lines
365 B
Go
package operation
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type release struct {
|
|
Table
|
|
fields string `data:"title,content,user_uid"`
|
|
create string `name:"create title* content*" role:"leader"`
|
|
remove string `name:"remove" role:"leader"`
|
|
}
|
|
|
|
func (s release) List(m *ice.Message, arg ...string) { s.ValueList(m, arg).Display("") }
|
|
|
|
func init() { ice.TeamCtxCmd(release{}) }
|