stringslice/stringslice.go
func Uniq(items []string) (uniqItems []string) {
	sort.Strings(items)

	lastitem := ""
	for _, item := range items {
		if item != lastitem {
			uniqItems = append(uniqItems, item)
			lastitem = item
		}
	}

	return
}
func Uniq(items []string) (uniqItems []string) {
	sort.Strings(items)

	lastitem := ""
	for _, item := range items {
		if item != lastitem {
			uniqItems = append(uniqItems, item)
			lastitem = item
		}
	}

	return
}
func Uniq ( items [ ] string ) ( uniqItems [ ] string ) { sort . Strings ( items ) lastitem := " " for _ , item := range items { if item != lastitem { uniqItems = append ( uniqItems , item ) lastitem = item } } return }
// Uniq returns a slice containing the unique strings
// found in items
Uniq returns a slice containing the unique strings found in items