Skip to content

Commit

Permalink
Add ability to set the output for query.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszraczylo committed Apr 8, 2023
1 parent d764980 commit eef4e39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,7 @@ func NewConnection() *BaseClient {
func (b *BaseClient) SetEndpoint(endpoint string) {
b.endpoint = endpoint
}

func (b *BaseClient) SetOutput(output string) {
b.responseType = output
}

0 comments on commit eef4e39

Please sign in to comment.