houseme 8e81a416c5 Adaptation of new go-redis components (#546) há 4 anos atrás
..
analysis 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) há 4 anos atrás
auth 8e81a416c5 Adaptation of new go-redis components (#546) há 4 anos atrás
config 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) há 4 anos atrás
content 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) há 4 anos atrás
context 972dec0406 将小程序获取ak的方式也抽象出来 há 6 anos atrás
encryptor 00b13cda0d 增加iv校验 (#482) há 4 anos atrás
message 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) há 4 anos atrás
privacy 4721f7567b 支持微信小程序隐私接口 (#518) há 4 anos atrás
qrcode 1b5c5fba67 Bug fix: `omitempty`关键字,给它赋的值恰好等于默认空值的话,在转为 json 之后也不会输出这个 field (#539) há 4 anos atrás
shortlink d3f1a83d46 增加shortlink.generate (#467) há 4 anos atrás
subscribe 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) há 4 anos atrás
tcb 8e81a416c5 Adaptation of new go-redis components (#546) há 4 anos atrás
urllink 9cecda0469 小程序码、URL Link 增加参数(#502,#512) (#514) há 4 anos atrás
werun 45caf61899 Silenceper release 2.0 (#408) há 5 anos atrás
README.md 8e81a416c5 Adaptation of new go-redis components (#546) há 4 anos atrás
miniprogram.go 4721f7567b 支持微信小程序隐私接口 (#518) há 4 anos atrás

README.md

微信小程序

官方文档

包说明

  • analysis 数据分析相关API

快速入门

wc := wechat.NewWechat()
memory := cache.NewMemory()
cfg := &miniConfig.Config{
    AppID:     "xxx",
    AppSecret: "xxx",
    Cache: memory,
}
miniprogram := wc.GetMiniProgram(cfg)
miniprogram.GetAnalysis().GetAnalysisDailyRetain()