Restructure Project to Conform to Go Best Practices
Closed this issue · 1 comments
dvonthenen commented
Proposed changes
Restructure the project so that:
- all modules are in the
pkg
folder - modules are broken down into decrete functionality type.
pkg/client
- client objectspkg/api
- all APIspkg
contains supporting packages
- any binaries generated are in the
cmd/bin
folder - any CLI type applications are in the
cmd/cli
folder
A great (but exhaustive) example of this is in the Kubernetes project: https://github.com/kubernetes/kubernetes/tree/master/pkg
Context
This change is important because when the DG API starts to expand, it's going to make the project maintainable. Currently, all code exists in the /deepgram
folder.
Possible Implementation
NA
Other information
NA
dvonthenen commented
Merged #86. Closing