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

Client Expose BaseURL #74

Merged
merged 3 commits into from
Oct 31, 2022
Merged

Client Expose BaseURL #74

merged 3 commits into from
Oct 31, 2022

Conversation

norrland
Copy link
Contributor

  • Expose BaseURL in Client
  • SetBaseURL method for updating the BaseURL

Allow changes to the URL used for API requests after the Client has been initiated.
Pass a string with an URL to update the Client with.
Returns error if url.Parse fails.
client_test.go Outdated Show resolved Hide resolved
Co-authored-by: Martin Bagge / brother <martin.bagge@glesys.se>
@norrland norrland merged commit 4881db5 into master Oct 31, 2022
@norrland norrland deleted the ae-setbaseurl branch October 31, 2022 12:50
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

Successfully merging this pull request may close these issues.

2 participants