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 Builder pattern to initialize clients #22

Open
0xRampey opened this issue Sep 17, 2024 · 0 comments
Open

Use Builder pattern to initialize clients #22

0xRampey opened this issue Sep 17, 2024 · 0 comments
Assignees

Comments

@0xRampey
Copy link
Member

Currently, we pass in init params for all clients through a constructor. This is confusing and doesn't look clean.

func (d *ClientBuilder) InitClients(

Use the builder pattern to only pass params for the clients we want.

@0xRampey 0xRampey self-assigned this Sep 17, 2024
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