Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: fix typo in plugin

sy-records0db889af38bf
diff --git a/plugin/embed.go b/plugin/embed.go
index e853c8c2..772599ce 100644
--- a/plugin/embed.go
+++ b/plugin/embed.go
@@ -32,7 +32,7 @@ type Embed interface {
}
var (
- // CallReviewer is a function that calls all registered parsers
+ // CallEmbed is a function that calls all registered parsers
CallEmbed,
registerEmbed = MakePlugin[Embed](false)
)
diff --git a/plugin/render.go b/plugin/render.go
index 4fc2edf6..d36fd86d 100644
--- a/plugin/render.go
+++ b/plugin/render.go
@@ -33,7 +33,7 @@ type Render interface {
}
var (
- // CallReviewer is a function that calls all registered parsers
+ // CallRender is a function that calls all registered parsers
CallRender,
registerRender = MakePlugin[Render](false)
)
diff --git a/plugin/search.go b/plugin/search.go
index 719d4294..02b5fba8 100644
--- a/plugin/search.go
+++ b/plugin/search.go
@@ -124,7 +124,7 @@ type SearchSyncer interface {
}
var (
- // CallUserCenter is a function that calls all registered parsers
+ // CallSearch is a function that calls all registered parsers
CallSearch,
registerSearch = MakePlugin[Search](false)
)