package
0.0.0-20240630110817-772d8f454818
Repository: https://github.com/striversity/gotr.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
Word Count
TODO 1 - Count the occurrence of each word in one or more text files
Requirements
- The filename(s) is/are passed as an argument to the program.
- For each file, read all the data and count each occurrence of all words.
- You will also need strings.Split() and strings.TrimSpace(), if you are reading by line.
- TIP: Go standard package bufio provides line and word scanner, see bufio.Scanner().