aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-04-21 10:59:13 +0200
committerBjørn Erik Pedersen <[email protected]>2022-04-23 22:22:50 +0200
commit9a888c243adc2be4b630f29eac7def742803d8a4 (patch)
treefbb3bfed3b257c825ffb479550b06e2e010b63c6 /tpl
parent05b45c35c8067b7c4a6c99fec64f124739d2e7fd (diff)
downloadhugo-9a888c243adc2be4b630f29eac7def742803d8a4.tar.gz
hugo-9a888c243adc2be4b630f29eac7def742803d8a4.zip
Some godoc adjustments
Diffstat (limited to 'tpl')
-rw-r--r--tpl/compare/compare.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/compare/compare.go b/tpl/compare/compare.go
index 3e9730dad..9905003b2 100644
--- a/tpl/compare/compare.go
+++ b/tpl/compare/compare.go
@@ -190,6 +190,7 @@ func (n *Namespace) Le(first any, others ...any) bool {
// Lt returns the boolean truth of arg1 < arg2 && arg1 < arg3 && arg1 < arg4.
// The provided collator will be used for string comparisons.
+// This is for internal use.
func (n *Namespace) LtCollate(collator *langs.Collator, first any, others ...any) bool {
n.checkComparisonArgCount(1, others...)
for _, other := range others {