update config

This commit is contained in:
yuzuki999
2022-06-04 16:59:10 +08:00
parent 12e0e86979
commit a4127588f7
5 changed files with 24 additions and 27 deletions

View File

@@ -18,7 +18,6 @@ func (c *Client) Debug() {
func (c *Client) assembleURL(path string) string {
return c.APIHost + path
}
func (c *Client) checkResponse(res *resty.Response, path string, err error) error {
if err != nil {
return fmt.Errorf("request %s failed: %s", c.assembleURL(path), err)