chore: fix function in comment (#7121)

Signed-off-by: bytesingsong <bytesing@icloud.com>
This commit is contained in:
bytesingsong 2025-07-12 19:54:57 +08:00 committed by GitHub
parent 1209b5c566
commit aff88d4b26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1546,7 +1546,7 @@ func (mre *MatchRegexp) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
return nil
}
// ParseCaddyfileNestedMatcher parses the Caddyfile tokens for a nested
// ParseCaddyfileNestedMatcherSet parses the Caddyfile tokens for a nested
// matcher set, and returns its raw module map value.
func ParseCaddyfileNestedMatcherSet(d *caddyfile.Dispenser) (caddy.ModuleMap, error) {
matcherMap := make(map[string]any)

View File

@ -380,7 +380,7 @@ func (TemplateContext) funcMarkdown(input any) (string, error) {
return buf.String(), nil
}
// splitFrontMatter parses front matter out from the beginning of input,
// funcSplitFrontMatter parses front matter out from the beginning of input,
// and returns the separated key-value pairs and the body/content. input
// must be a "stringy" value.
func (TemplateContext) funcSplitFrontMatter(input any) (parsedMarkdownDoc, error) {