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

Don't pass around the socket connection everywhere #32

Open
emgrasmeder opened this issue Jan 30, 2018 · 0 comments
Open

Don't pass around the socket connection everywhere #32

emgrasmeder opened this issue Jan 30, 2018 · 0 comments

Comments

@emgrasmeder
Copy link
Owner

We can either keep all functionality that needs a socket connection in the same file, or look into the highest voted answer here
https://stackoverflow.com/questions/31218008/sharing-a-globally-defined-db-conn-with-multiple-packages-in-golang

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