Merge pull request #242 from fkautz/pr_out_renaming_appenduint_to_appenduniqint

This commit is contained in:
Frederick F. Kautz IV 2015-03-01 16:39:55 -08:00
commit 7ee3017a1c
1 changed files with 1 additions and 1 deletions

View File

@ -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