1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
icebergs/misc/alpha/cache.go
2022-01-09 03:27:13 +08:00

19 lines
382 B
Go

package alpha
import (
"shylinux.com/x/ice"
)
type cache struct {
ice.Hash
short string `data:"word"`
field string `data:"time,word,translation,definition"`
create string `name:"create word translation definition" help:"创建"`
}
func (c cache) Create(m *ice.Message, arg ...string) {
c.Hash.Create(m, arg...)
}
func init() { ice.Cmd("web.wiki.alpha.cache", cache{}) }