You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: