package
0.0.0-20241126132414-a6474f9c9b52
Repository: https://github.com/talgat-ruby/exercises-go.git
Documentation: pkg.go.dev

# README

Problem 11

Create a function that takes a slice of items, removes all duplicate items and returns a new slice in the same sequential order as the old slice (minus duplicates).

removeDups([]int{1, 0, 1, 0}) // [1, 0]

removeDups([]bool{true, false, false, true}) // [true, false]

removeDups([]string{"John", "Taylor", "John"}) // ["John", "Taylor"]