Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package structure #3

Open
dividinglimits opened this issue Mar 27, 2017 · 1 comment
Open

package structure #3

dividinglimits opened this issue Mar 27, 2017 · 1 comment

Comments

@dividinglimits
Copy link

Separate your project into behaviors. Currently I perceive this as a single monolithic package that could have been made into multiple ones.

https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1
https://dave.cheney.net/2014/12/01/five-suggestions-for-setting-up-a-go-project

@genesor
Copy link
Owner

genesor commented Mar 27, 2017

Thanks for pointing this out.

I was thinking of adding a mock package to allow easy implementation and testing when integrating the package but I was wondering if people won't prefer making their own mocks.

For the split of the package itself, I'm thinking of a split by service, one sub-package by Twilio entity. eg: one for phonenumbers one for sms one for voice etc...

WDYT ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants