example

package module
v0.0.0-...-2c364e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

example

wechat sdk examples

文档

wechat sdk文档

Build

  go build -o bin/example cmd/example/main.go

Run

请修改config.yaml中的相关为自己的参数再运行

./bin/example

关注公众号

学点程序

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(c *gin.Context)

Index 显示首页

func InitWechat

func InitWechat() *wechat.Wechat

InitWechat 获取wechat实例 在这里已经设置了全局cache,则在具体获取公众号/小程序等操作实例之后无需再设置,设置即覆盖

func Run

func Run() error

Run 程序入口

Types

This section is empty.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL