-
-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Replace http.Client with interface for extensibility
Setting up the NewClient method to accept an interface that gives access to the Do method of the http.Client rather than using a hard http.Client so that an interface can be passed for mocking and other non-standard clients can be used with go-jira.
- Loading branch information
1 parent
9ca8940
commit b59a65c
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters