@ -6,7 +6,7 @@ Clone the repository, keep what you need and delete everything else!
## Go Directories
*`/cmd`
###`/cmd`
Main applications for this project.
@ -16,19 +16,19 @@ Don't put a lot of code in the application directory unless you think that code
It's common to have a small main function that imports and invokes the code from the `/internal` and `/pkg` directories.
*`/internal`
###`/internal`
Private application and library code.
Put your actual application code in the `/internal/app` directory (e.g., `/internal/app/myapp`) and the code shared by those apps in the `/internal/pkg` directory (e.g., `/internal/pkg/myprivlib`).
*`/pkg`
###`/pkg`
Library code that's safe to use by external applications (e.g., `/pkg/mypubliclib`).
Other projects will import these libraries expecting them to work, so think twice before you put something here :-)
*`/vendor`
###`/vendor`
Application dependencies (managed manually or by your favorite dependency management tool).
@ -36,35 +36,35 @@ Don't commit your application dependencies if you are building a library.