From de6131cc7c33c58e1709a88c1c8fc7c5c04001e4 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sun, 1 Mar 2015 16:39:45 -0800 Subject: [PATCH] Renaming AppendUInt to AppendUniqInt --- pkg/utils/helpers/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/helpers/common.go b/pkg/utils/helpers/common.go index 058ef7617..66f626d00 100644 --- a/pkg/utils/helpers/common.go +++ b/pkg/utils/helpers/common.go @@ -53,7 +53,7 @@ func FirstUpper(str string) string { return strings.ToUpper(str[0:1]) + str[1:] } -func AppendUint(slice []int, i int) []int { +func AppendUniqInt(slice []int, i int) []int { for _, ele := range slice { if ele == i { return slice