10

Start a new Go project [standard layout]

 3 years ago
source link: https://yourbasic.org/golang/library-package-example-template/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Start a new Go project [standard layout]

yourbasic.org/golang
stencil.jpg

The repository at github.com/yourbasic/fenwick is a small but complete Go library package. It shows the structure of a basic project and can be used as a template.

In addition to source code and resources, it includes

  • a README file with sections on

    • installation,
    • documentation and
    • compatibility policy,
  • unit tests,
  • benchmarks,
  • godoc links,
  • a testable doc example and
  • a licence.

Further reading

go-thumb.jpg

Your basic API is an introduction to API design with examples in Go and Java.

Share:             


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK