A fast wechat miniprogram/minigame development sdk written in Golang
go get github.com/fastwego/miniprogram
// 创建小程序/小游戏实例
app := miniprogram . New (miniprogram. Config {
Appid : "APPID" ,
Secret : "SECRET" ,
})
var payload = [] byte ( `{
"begin_date" : "20170313",
"end_date" : "20170313"
}` )
// 调用 api
resp , err := datacube . GetDailyRetain ( app , payload )
fmt . Println ( string ( resp ), err )
Complete demo project:
https://github.com/fastwego/miniprogram-demo
Interface list:
"Quick", as the core concept of framework design, is reflected in all aspects:
As a third-party development framework, it is as close to official documents and designs as possible, without introducing new concepts or adding learning burden to developers.
The comments of each interface are accompanied by links to official documents, allowing you to read them at any time, saving time and worry.
100% coverage of every interface, allowing you to be confident every time you call
Every key link is fully recorded for you, making debugging twice as easy. You can freely define the log output and even turn off the log.
A single server cannot support the access traffic/want to improve service availability?
Just set the GetAccessTokenFunc method and obtain the AccessToken from the central control service to solve the problem of multi-instance refresh conflict/overwriting
FastWeGo is a complete WeChat development framework, including official accounts, open platforms, WeChat payment, corporate WeChat, mini programs, mini games and other WeChat services, and has a large developer user base
Almost all the problems you encounter can be solved in the community
Welcome to submit PR/issue or documents, let’s make WeChat development faster and better together!
Faster we go together!
Join the developer communication group