strings.HasSuffix

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