mirror of
https://shylinux.com/x/icebergs
synced 2025-04-25 17:18:05 +08:00
15 lines
298 B
Go
15 lines
298 B
Go
package alpha
|
|
|
|
import (
|
|
"shylinux.com/x/ice"
|
|
)
|
|
|
|
type cache struct {
|
|
ice.Hash
|
|
short string `data:"word"`
|
|
field string `data:"time,word,phonetic,translation,definition"`
|
|
list string `name:"list word auto create prunes" help:"缓存"`
|
|
}
|
|
|
|
func init() { ice.Cmd("web.wiki.alpha.cache", cache{}) }
|