strings.HasSuffix

strings.HasSuffix


Reports whether the given string ends with the given suffix.

{{ hasSuffix "Hugo" "go" }} → true