Skip to content

Commit 32b8fe6

Browse files
sawardnatefinch
authored andcommitted
Fixed hasSuffix to point to HasSuffix function (#112)
1 parent 4d6c41d commit 32b8fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environ/funcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var FuncMap = map[string]interface{}{
2626
"equalFold": strings.EqualFold,
2727
"fields": strings.Fields,
2828
"hasPrefix": strings.HasPrefix,
29-
"hasSuffix": strings.HasPrefix,
29+
"hasSuffix": strings.HasSuffix,
3030
"inc": inc,
3131
"strIndex": strings.Index,
3232
"indexAny": strings.IndexAny,

0 commit comments

Comments
 (0)