deepgram/deepgram-go-sdk

Restructure Project to Conform to Go Best Practices

Closed this issue · 1 comments

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 objects
    • pkg/api - all APIs
    • pkg 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

Merged #86. Closing