Selaa lähdekoodia

fix method name

ls 2 vuotta sitten
vanhempi
commit
29ad56bb4a
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
 }