Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 338 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 338 Bytes

Find unique words in word list

Require Go version 1

How to use

Example, we have list of words:

abc def hi hello there hi abc

Need to list out all unique words in that list, do this:

go run main.go abc def hi hello there hi abc

Result:

[abc def hi hello there]

How to run test

go test ./...