strings.HasSuffix
Reports whether the given string ends with the given suffix.
Syntax
strings.HasSuffix STRING SUFFIX
Returns
bool
Alias
hasSuffix
{{ hasSuffix "Hugo" "go" }} → true