Skip to content

huimingz/wechatgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wechatgo

企业微信开发工具Go语言版本

安装

go get -v github.com/huimingz/wechatgo

使用vendor:

govendor fetch -v -tree github.com/huimingz/wechatgo

文档

文档地址:https://godoc.org/github.com/huimingz/wechatgo

特性

  • 通讯录管理(大部分)
  • 外部联系人管理
  • 身份验证
  • 应用管理
  • 消息推送(部分)
  • 素材管理
  • OA数据接口
  • 电子发票

关于测试

少部分功能由于缺乏测试环境,未进行测试。

ok  	github.com/huimingz/wechatgo	(cached)	coverage: 69.2% of statements
ok  	github.com/huimingz/wechatgo/ent	1.256s	coverage: 40.3% of statements
ok  	github.com/huimingz/wechatgo/ent/app	1.338s	coverage: 90.3% of statements
ok  	github.com/huimingz/wechatgo/ent/dept	2.616s	coverage: 100.0% of statements
ok  	github.com/huimingz/wechatgo/ent/extcontact	1.092s	coverage: 11.9% of statements
?   	github.com/huimingz/wechatgo/ent/invoice	[no test files]
ok  	github.com/huimingz/wechatgo/ent/media	2.362s	coverage: 42.0% of statements
ok  	github.com/huimingz/wechatgo/ent/msg	1.437s	coverage: 33.8% of statements
ok  	github.com/huimingz/wechatgo/ent/oa	1.721s	coverage: 100.0% of statements
ok  	github.com/huimingz/wechatgo/ent/oauth	0.973s	coverage: 93.9% of statements
ok  	github.com/huimingz/wechatgo/ent/tag	1.829s	coverage: 100.0% of statements
ok  	github.com/huimingz/wechatgo/ent/user	2.953s	coverage: 97.1% of statements
ok  	github.com/huimingz/wechatgo/storage	(cached)	coverage: 95.7% of statements

可能存在的问题

企业微信文档中"获取公费电话拨打记录"的示例中存在错误,加之无测试环境,无法作出有效判断。

版权

使用MIT许可证授权,详细内容查看LICENSE文件。

About

Golang企业微信SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages