Style Guidline for Go Packages #38

Open
opened 2021-06-07 04:17:25 +00:00 by jeff · 0 comments
Owner

https://rakyll.org/style-packages/

Use multiple files.

Organize by their responsibility.

Lowercase-only package names.

Avoid overly broad package names (common, util, models, etc).

Avoid src, pkg, etc in your import paths.

No plurals.

https://rakyll.org/style-packages/ Use multiple files. Organize by their responsibility. Lowercase-only package names. Avoid overly broad package names (common, util, models, etc). Avoid src, pkg, etc in your import paths. No plurals.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: simplesystems/go-resources#38
No description provided.