title: go build works fine but go run fails
body: <p>I have a few files in the main package under one directory:</p>
  
  <p>main.go
  config.go
  server.go</p>
  
  <p>When I do: "go build" the program builds perfect and runs fine.
  When I do: "go run main.go" it fails. </p>
  
  <p>Output:</p>
  
  <pre><code># command-line-arguments
  ./main.go:7: undefined: Config
  ./main.go:8: undefined: Server
  </code></pre>
  
  <p>The symbols that are undefined are structs and they are capitalised so should be exported.</p>
  
  <p>My Go version: go1.1.2 linux/amd64</p>