去掉无用

This commit is contained in:
xing 2023-02-09 23:19:32 +08:00
parent daa9a26e00
commit ef71192add

View File

@ -49,10 +49,6 @@ func PluginFn[T any](a []Plugin[T], h Handle, fn Fn[T]) Fn[T] {
}, fn)
}
var plugin = []Plugin[models.Posts]{
PasswordProject,
}
var pluginFns = map[string]Plugin[models.Posts]{
"passwordProject": PasswordProject,
"digest": Digest,