Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Replace Init with NewClient #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JustinTulloss
Copy link

This is slightly more idiomatic go. Instead of creating a struct and
passing it to Init, we replace Init with NewClient which both creates
the struct and initializes it.

This is slightly more idiomatic go. Instead of creating a struct and
passing it to Init, we replace Init with NewClient which both creates
the struct and initializes it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant