Projects on which I improved my understanding of Golang.
Currently wordcounter is the first and only one. It finds the top 20 words by frequency in a file. It is not internationalised and will only work for words comprised of ASCII a-zA-Z. Binary characters and punctuation are all treated as word separators.
Clone.
cd wordcounter
go build
./wordcounter filename.txt
wordcounter will read from stdin if no filenames are specified.
If multiple filenames are specified then all will be read and the results will be a summary.
golang and git
Explain what these tests test and why
cd wordcounter
go build
go test
- Tim Murphy
This project is in the public domain.