Skip to content

Commit d9188f4

Browse files
committed
internal package use clarifications
1 parent 4090445 commit d9188f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Private application and library code. This is the code you don't want others importing in their applications or libraries.
44

5-
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`).
5+
You can optionally add a bit of extra structure to your internal packages to separate your shared and non-shared internal code. It's not required, but it's nice to have visual clues showing the intended package use. Your actual application code can go 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`).

0 commit comments

Comments
 (0)