去掉无用
This commit is contained in:
parent
daa9a26e00
commit
ef71192add
|
@ -49,10 +49,6 @@ func PluginFn[T any](a []Plugin[T], h Handle, fn Fn[T]) Fn[T] {
|
||||||
}, fn)
|
}, fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
var plugin = []Plugin[models.Posts]{
|
|
||||||
PasswordProject,
|
|
||||||
}
|
|
||||||
|
|
||||||
var pluginFns = map[string]Plugin[models.Posts]{
|
var pluginFns = map[string]Plugin[models.Posts]{
|
||||||
"passwordProject": PasswordProject,
|
"passwordProject": PasswordProject,
|
||||||
"digest": Digest,
|
"digest": Digest,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user