paint-brush
A Comprehensive Guide to Approaching Package Organization in Goby@powerslider
634 reads
634 reads

A Comprehensive Guide to Approaching Package Organization in Go

by Tsvetan Dimitrov11mFebruary 15th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Go has no official conventions and preferences on how you should structure your packages. An app with a flat structure would just place all of the `go` files in a single package. The goal of this article is not to specify a strict convention, but rather advocate building robust mental models for reasoning about your problem domains.

People Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A Comprehensive Guide to Approaching Package Organization in Go
Tsvetan Dimitrov HackerNoon profile picture
Tsvetan Dimitrov

Tsvetan Dimitrov

@powerslider

Golang enthusiast, DJ and Latin Dancer. Creator of https://brainrays.com.

L O A D I N G
. . . comments & more!

About Author

Tsvetan Dimitrov HackerNoon profile picture
Tsvetan Dimitrov@powerslider
Golang enthusiast, DJ and Latin Dancer. Creator of https://brainrays.com.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite