title: Search for specific word using Go
body: <p>I am new to Go, and am trying to set up a program that splits a Reader object word by word, then records the amount of times the word was found. Here is what I have so far.</p>
  
  <pre><code>func Occurrences(word string, s io.Reader) (uint, error) {
      scanner := bufio.NewScanner(strings.NewReader(s))
  
      // Split the reader into words
      var word_count int // Number of the specific word found
      scanner.Split(budfio.ScanWords)
      for scanner.Scan() {
  
      }
  }
  </code></pre>
  
  <p>I am not sure where to go from there. I do not know what to compare the word I am searching for with. Any help is appreciated</p>