title: Is this how to upload packages to github.com so it can be used with `go get github.com/${username}/${repositoryname}/${local package}`?
body: <p>My goal is to upload packages to github.com that can be used in other projects, by doing:</p>
  <ol>
  <li><code>$ go get github.com/${username}/${repositoryname}</code> to get <code>pdftotext</code>, <code>texttoparsed</code>, <code>parsedtocsv</code></li>
  <li><code>$ go get github.com/${username}/${repositoryname}/${local package}</code> to get just one package e.g <code>pdftotext</code>.</li>
  </ol>
  <p>Reference: <a href="https://github.com/golang-standards/project-layout" rel="nofollow noreferrer">golang-standards/project-layout</a></p>
  <p>The project's layout:</p>
  <pre><code>|-examples
  | |-filepath
  |   |-main.go `package name: main`
  |-pkg
  | |-pdftotext (convert pdf to in-memory string)
  |   |-pdftotext.go `package name: pdftotext`
  | |-texttoparsed (convert in-memory string to parts)
  |   |-texttoparsed.go `package name: texttoparsed`
  | |-parsedtocsv (convert parts to csv)
  |   |-parsedtocsv.go `package name: parsedtocsv`
  |-go.mod `module name: github.com/kidfrom/e-statement-to-t-account`
  </code></pre>