You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that we have other cases of exported fields/methods that I have marked as internal in the Go doc (typically interface methods), which means that they should not be documented or used in templates -- and can be renamed/removed at any moment.
I haven't looked at these 2, but
If they're not used outside of package, unexport.
If it's simple to make it into a func (which it is in this case), do that.
Else, add a "This method is for internal use only ..." comment as a comment.
jmooring
added a commit
to jmooring/hugo
that referenced
this issue
Nov 8, 2023
I can't come up with a scenario where either of these is useful in a menu template.
The text was updated successfully, but these errors were encountered: