From 09ff81716c010aa697dcce3a4990ba3371e715e9 Mon Sep 17 00:00:00 2001 From: Kiyon Date: Thu, 25 Feb 2021 10:41:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20beta=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.go b/client.go index b76a77ab..ef7bec75 100644 --- a/client.go +++ b/client.go @@ -722,6 +722,8 @@ func (a *Agent) Dest(dest []byte) *Agent { // Bytes returns the status code, bytes body and errors of url. func (a *Agent) Bytes() (code int, body []byte, errs []error) { + fmt.Println("[Warning] client is still in beta, API might change in the future!") + defer a.release() if errs = append(errs, a.errs...); len(errs) > 0 {