mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
15 lines
272 B
Go
15 lines
272 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"`
|
|
list string `name:"list word auto create prunes" help:"缓存"`
|
|
}
|
|
|
|
func init() { ice.WikiCtxCmd(cache{}) }
|