mirror of
https://github.com/minio/minio.git
synced 2025-04-24 04:10:43 -04:00
Renaming AppendUInt to AppendUniqInt
This commit is contained in:
parent
6f300c9ef0
commit
de6131cc7c
@ -53,7 +53,7 @@ func FirstUpper(str string) string {
|
|||||||
return strings.ToUpper(str[0:1]) + str[1:]
|
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 {
|
for _, ele := range slice {
|
||||||
if ele == i {
|
if ele == i {
|
||||||
return slice
|
return slice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user