summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClayton Coleman <ccoleman@redhat.com>2015-12-20 14:38:34 -0500
committerClayton Coleman <ccoleman@redhat.com>2015-12-20 14:38:34 -0500
commitf43cec8f19af7a9a2701d507bc152c44a7eb1528 (patch)
treeb8f62009ec0813424349c4a9049d735955d0c13f
parent437c98d858fcf5a040fe949a9e4b03651533fc0e (diff)
Document lowercase filenames
-rw-r--r--coding-conventions.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/coding-conventions.md b/coding-conventions.md
index d51278be..e1708633 100644
--- a/coding-conventions.md
+++ b/coding-conventions.md
@@ -68,6 +68,7 @@ Directory and file conventions
- Avoid package sprawl. Find an appropriate subdirectory for new packages. (See [#4851](http://issues.k8s.io/4851) for discussion.)
- Libraries with no more appropriate home belong in new package subdirectories of pkg/util
- Avoid general utility packages. Packages called "util" are suspect. Instead, derive a name that describes your desired function. For example, the utility functions dealing with waiting for operations are in the "wait" package and include functionality like Poll. So the full name is wait.Poll
+ - All filenames should be lowercase
- Go source files and directories use underscores, not dashes
- Package directories should generally avoid using separators as much as possible (when packages are multiple words, they usually should be in nested subdirectories).
- Document directories and filenames should use dashes rather than underscores