diff options
| author | cui fliter <imcusg@gmail.com> | 2023-12-18 10:54:53 +0800 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-12-20 12:48:32 +0000 |
| commit | 3da2432fb9dce67f1236c96a8d81604a98fda523 (patch) | |
| tree | 4cb673bb9fff10893c6258a234cf95e52d24ae50 /pkg/compiler | |
| parent | 3ad490ea48468e50fe91f6f6b2ca4cbc74d924bf (diff) | |
all: fix some function names in comments
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'pkg/compiler')
| -rw-r--r-- | pkg/compiler/check.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/compiler/check.go b/pkg/compiler/check.go index 00695b6b1..aa83f8c8d 100644 --- a/pkg/compiler/check.go +++ b/pkg/compiler/check.go @@ -423,7 +423,7 @@ type parentDesc struct { fields []*ast.Field } -// templateName return the part before '[' for full template names. +// templateBase return the part before '[' for full template names. func templateBase(name string) string { if pos := strings.IndexByte(name, '['); pos != -1 { return name[:pos] |
