|
|
|
|
|
by dmlittle
2424 days ago
|
|
I like the use of pkg/ as it allows you to separate your source code from other things that might be in the repository such as a README, LICENSE, Dockerfile, Makefile, linter configurations, go version configuration, etc. These things usually live in the root of the repository so you know to look for them there but if you also have your source code there it makes things harder to find. This is also one of the reasons why some other programming languages might have adopted the standard of src/ or lib/. |
|