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

  1. The filename(s) is/are passed as an argument to the program.
  2. For each file, read all the data and count each occurrence of all words.
  3. 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().