Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringEqualFold ¶
type StringEqualFold string
StringEqualFold is a string that implements the compare.Eqer interface and considers two strings equal if they are equal when folded to lower case. The compare.Eqer interface is used in Hugo to compare values in templates (e.g. using the eq template function).
func (StringEqualFold) Eq ¶
func (s StringEqualFold) Eq(s2 any) bool
func (StringEqualFold) EqualFold ¶
func (s StringEqualFold) EqualFold(s2 string) bool
func (StringEqualFold) String ¶
func (s StringEqualFold) String() string
Click to show internal directories.
Click to hide internal directories.