title: How to publish a Go package
body: <p>I am trying to publish <a href="https://github.com/dylhunn/dragontooth-movegen" rel="noreferrer">my Go package</a> so it is visible on <a href="https://godoc.org/" rel="noreferrer">doc search</a> and <a href="http://go-search.org/" rel="noreferrer">go search</a>, and can be installed with <code>go get</code>. </p>
  
  <p>However, the <a href="https://github.com/golang/go/wiki/PackagePublishing" rel="noreferrer">one document</a> I found doesn't clearly tell me how to get the documentation generated and hosted, or to publish the package at all. How can I publish my package?</p>