silenceper/wechat is a Go library that wraps WeChat Official Account, mini program, payment, and enterprise APIs for backend integration.
Overview
The WeChat SDK for Go packages Tencent WeChat web services into submodules for official accounts, mini programs, mini games, payments, open platform access, enterprise WeChat, and related APIs.
Documentation and examples show how a Go HTTP handler can verify callbacks, parse incoming messages, and reply according to WeChat server rules. Version 2.0 is the current documented line and installs via Go modules.
Developers embed the library in Go applications that need server-side interaction with WeChat rather than running a standalone user-facing program. API coverage evolves through community contributions tracked against an API checklist.
Apache 2.0 licensing applies to the source tree.
Key features
- Official account messaging helpers
- Mini program and game modules
- WeChat Pay integration package
- Enterprise WeChat APIs
- Modular subpackages per product
Use cases
- Go backends serving WeChat callbacks
- Automating official account replies
- Integrating WeChat Pay in Go services