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

Use Wire as a replacement for global mutable shared state (e.g. common.BillingId) #38

Open
trietsch opened this issue Aug 16, 2021 · 0 comments

Comments

@trietsch
Copy link
Contributor

At the moment, we have a global, mutable, shared variable for the BillingId. The initialization process of setting this variable is not transparant.
This is where dependency injection could come to play, which Golang offers (officially built): https://github.com/google/wire

Let's explore if Wire could help us remove the current way common.BillingId works.

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