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

Reorganize the Go code into different packages #80

Open
oyvindhagberg opened this issue Jan 22, 2019 · 0 comments
Open

Reorganize the Go code into different packages #80

oyvindhagberg opened this issue Jan 22, 2019 · 0 comments

Comments

@oyvindhagberg
Copy link
Contributor

oyvindhagberg commented Jan 22, 2019

  • The purpose is to isolate different parts of the code that shouldn't use each others internals directly.
  • Also, to extract generic functions that can be re-used throughout the code, instead of having similar code duplicated in several places.
  • Object oriented languages have obvious ways of doing this, but Go doesn't. Perhaps read up on best practices for Go.

A vendor directory can be (ab)used to allow us to split the code up in different packages without having to make multiple git repositories.

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

1 participant