weworkapi_go:企业微信API golang版

时间:2021-05-27 16:59:00
【文件属性】:
文件名称:weworkapi_go:企业微信API golang版
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-27 16:59:00
Go About 企业微信API官方文档: Director ├── api // API 接口 ├── examples // API接口的测试用例 ├── config // 设置Debug模式 ├── utils // 一些基础方法 └── README.md Usage import ( "github.com/scarletcc/weworkapi_go/api" ) // 实例化 API 类 corpAPI := api.NewCorpAPI("CORP_ID", "APP_SECRET") // 发送消息 response, err := corpAPI.MessageSend(map[string]interface{}{ "touser": "", "toparty": "", "totag": "", "msgtype": "text"
【文件预览】:
weworkapi_go-master
----README.md(2KB)
----utils()
--------HttpUtils_test.go(472B)
--------HttpUtils.go(1KB)
----examples()
--------TestConf.go(414B)
--------CorpAPI_test.go(3KB)
----api()
--------CorpAPI.go(5KB)
--------ServiceCorpAPI.go(1KB)
--------ServiceProviderAPI.go(739B)
--------CorpAPIMethod.go(7KB)
--------API.go(4KB)
----config()
--------config.go(34B)
----tools()
--------Tools.go(850B)
--------Tools_test.go(133B)

网友评论