From ef967300bbc1cf184ff3fba1a2e6db2574d81a71 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Mon, 30 Oct 2023 17:11:01 +0100 Subject: [PATCH] feat: added IsDebug --- compress/compress.go | 1 + compress/resty.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/compress/compress.go b/compress/compress.go index 6170239..11d8a17 100644 --- a/compress/compress.go +++ b/compress/compress.go @@ -7,6 +7,7 @@ import ( type ICompress interface { // HealthCheck() error + IsDebug() bool GetUploads(uploadsPaginated UploadsPaginated) error // } diff --git a/compress/resty.go b/compress/resty.go index bc07eb6..70f796f 100644 --- a/compress/resty.go +++ b/compress/resty.go @@ -17,6 +17,10 @@ func (o *compress) HealthCheck() error { return nil } +func (o *compress) IsDebug() bool { + return o.debug +} + func(o *compress) GetCliendId() string { return o.customerName+"_client" }