Versions in this module Expand all Collapse all v1 v1.0.0 Sep 24, 2018 Changes in this version + type Config struct + AppID string + AppSecret string + Cache cache.Cache + EncodingAESKey string + PayKey string + PayMchID string + PayNotifyURL string + Token string + type Wechat struct + Context *context.Context + func NewWechat(cfg *Config) *Wechat + func (wc *Wechat) GetAccessToken() (string, error) + func (wc *Wechat) GetJs() *js.Js + func (wc *Wechat) GetMaterial() *material.Material + func (wc *Wechat) GetMenu() *menu.Menu + func (wc *Wechat) GetOauth() *oauth.Oauth + func (wc *Wechat) GetPay() *pay.Pay + func (wc *Wechat) GetServer(req *http.Request, writer http.ResponseWriter) *server.Server + func (wc *Wechat) GetTemplate() *template.Template + func (wc *Wechat) GetUser() *user.User Incompatible versions in this module v2.0.0+incompatible Aug 6, 2019