👷 Add beta warning

This commit is contained in:
Kiyon 2021-02-25 10:41:39 +08:00
parent 9bcfb5109d
commit 09ff81716c

View File

@ -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 {