title: How to build binary in package in Golang?
body: <p>I have a project in github.com/user called project:</p>
  
  <pre><code>src/
      github.com/user/project
          sub1/
              main.go
              sub1.exe (??)
          sub2/
              main.go
              sub2.exe (??)
  </code></pre>
  
  <p>I am trying to compile the package in my project. When I:</p>
  
  <pre><code>$ cd github.com/user/project/sub1
  $ go build
  </code></pre>
  
  <p>Nothing happens. go build seems to finish without complaining, but there is no executable file. How can I build packages into executable?</p>
  
  <p>"go version go1.3 windows/amd64"</p>