Ver código fonte

fix method name

ls 3 anos atrás
pai
commit
29ad56bb4a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      client.go

+ 2 - 2
client.go

@@ -22,8 +22,8 @@ func NewClient(appID, appSecret, token, encodingAESKey string) *Client {
 	return c
 }
 
-// UseCacheToken token from cache
-func (wc *Client) UseCacheToken(ok bool) {
+// TokenFromCache token from cache
+func (wc *Client) TokenFromCache(ok bool) {
 	wc.UseCacheToken = ok
 }