fix: pkg/strings comment typo
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
ec2a72d872
commit
5831b62383
|
|
@ -36,7 +36,7 @@ func Contains(slice []string, ele string) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// Remove the duplicate elements in the string slice
|
||||
// Remove the duplicate elements in the string slice.
|
||||
func Unique(slice []string) []string {
|
||||
keys := make(map[string]bool)
|
||||
result := []string{}
|
||||
|
|
|
|||
Loading…
Reference in New Issue