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

Make Phone Number Instance more DRY #15

Open
kevinburke opened this issue Nov 11, 2016 · 0 comments
Open

Make Phone Number Instance more DRY #15

kevinburke opened this issue Nov 11, 2016 · 0 comments

Comments

@kevinburke
Copy link
Collaborator

We have four inline functions for calls from / calls to / msg from / msg to. We could clean this up a little bit, and/or call four helper functions to get the relevant data.

We could also create one struct that has Loc / Number and share it across all four, and/or put Err on the same struct.

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

No branches or pull requests

1 participant