From eef4e396111ac8949427f9dd65306a54594ca793 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sat, 8 Apr 2023 01:38:29 +0100 Subject: [PATCH] Add ability to set the output for query. --- base.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.go b/base.go index 7ee8cfa..0f1322b 100644 --- a/base.go +++ b/base.go @@ -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 +}