少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/strings.hassuffix/
Tests whether a string ends with suffix.
hasSuffix STRING SUFFIX strings.HasSuffix STRING SUFFIX {{ hasSuffix "Hugo" "go" }} → true