title: How do I make go find my package?
body: <p>Where should I put my package so that it can be imported by another package?</p>
  
  <pre><code>$ tree
  .
  ├── main.go
  └── src
      └── test.go
  
  1 directory, 2 files
  
  $ cat src/test.go 
  package test
  
  $ cat main.go 
  package main
  
  import "test"
  
  $ go build main.go 
  main.go:3:8: import "test": cannot find package
  </code></pre>