pkg layout pattern examples and clarifications

This commit is contained in:
Kyle Quest
2018-08-17 18:32:23 -07:00
parent 5ab02c9d03
commit 7349b179a3
2 changed files with 14 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ Library code that's safe to use by external applications (e.g., `/pkg/mypublicli
Other projects will import these libraries expecting them to work, so think twice before you put something here :-)
See the [`/pkg`](pkg/README.md) directory for examples.
See the [`/pkg`](pkg/README.md) directory if you want to see which popular Go repos use this project layout pattern. This is a common layout pattern, but it's not universally accepted and some in the Go community don't recommend it.
### `/vendor`