title: How to run all .go files within current directory through the command line (multi file package)
body: <p>I'm a newcomer to Go. I extremely like the language, but I quickly realised that I needed to start dividing my files due to an increase in program size. </p>
  
  <p><code>go run main.go</code> (with main.go having been the file with my main() function)</p>
  
  <p>didn't work and I hit a barrier for a while, because I had no clue how to get my program working. </p>
  
  <p>Some quick searching lead me to the answer of</p>
  
  <p><code>go run main.go other.go ..</code> </p>
  
  <p>where by typing all the files that my <code>package main</code> consists of, I could get the programming running. However, this is utterly cumbersome and frustrating to do each time.</p>
  
  <p>I write the following self-answered question in order to prevent others like myself who may again hit this barrier.</p>