refactor: migrate repo to struct
This commit is contained in:
@ -55,6 +55,7 @@ var (
|
||||
alrConfigOnce sync.Once
|
||||
)
|
||||
|
||||
// Deprecated: For legacy only
|
||||
func GetInstance(ctx context.Context) *ALRConfig {
|
||||
alrConfigOnce.Do(func() {
|
||||
alrConfig = New()
|
||||
|
Reference in New Issue
Block a user