cache.go 248 B

12345678910111213
  1. package wechat
  2. import (
  3. "context"
  4. "go-common/app/interface/main/web-goblin/model/wechat"
  5. )
  6. //go:generate $GOPATH/src/go-common/app/tool/cache/gen
  7. type _cache interface {
  8. // cache
  9. AccessToken(c context.Context) (*wechat.AccessToken, error)
  10. }