mirror of
https://github.com/golang-standards/project-layout
synced 2024-11-17 03:25:58 +00:00
ce7e42ca18
'.keep' files where committed early on to build a directory structure. Since then other files have been added to those directories, making them unnecessary. |
||
---|---|---|
.. | ||
README.md |
/test
Additional external test apps and test data. Feel free to structure the /test
directory anyway you want. For bigger projects it makes sense to have a data subdirectory. For example, you can have /test/data
or /test/testdata
if you need Go to ignore what's in that directory. Note that Go will also ignore directories or files that begin with "." or "_", so you have more flexibility in terms of how you name your test data directory.
Examples:
- https://github.com/openshift/origin/tree/master/test (test data is in the
/testdata
subdirectory)