From e9dddce1f671289e4f6bfe73e549041b480a5c35 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Mon, 10 Jun 2024 15:51:44 +0200 Subject: [PATCH] removed castPax --- compress/resty.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compress/resty.go b/compress/resty.go index 346a772..4e338cc 100644 --- a/compress/resty.go +++ b/compress/resty.go @@ -61,7 +61,7 @@ func (o *compress) debugPrint(data interface{}) { log.Println(data) } } - +/* func castPax[T any](body []byte) (*T, error) { var obj T if err := json.Unmarshal(body, &obj); err != nil { @@ -69,3 +69,4 @@ func castPax[T any](body []byte) (*T, error) { } return &obj, nil } +*/ \ No newline at end of file