mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 01:57:20 +00:00
Use Go1.11 module (#5743)
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
This commit is contained in:
18
vendor/github.com/lunny/dingtalk_webhook/README.md
generated
vendored
Normal file
18
vendor/github.com/lunny/dingtalk_webhook/README.md
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# 非官方 Dingtalk webhook Golang SDK
|
||||
|
||||
## 此工程仅封装了 Dingtalk 的 webhook 部分的请求
|
||||
|
||||
## 使用
|
||||
|
||||
首先在dingtalk中创建一个机器人,将accessToken拷贝出来,然后执行下面方法即可
|
||||
|
||||
```Go
|
||||
webhook := dingtalk.Webhook(accessToken)
|
||||
webhook.SendTextMsg("这是一个没有AT的文本消息", false)
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License.
|
||||
See the [LICENSE](https://github.com/lunny/webhook_dingtalk/blob/master/LICENSE) file
|
||||
for the full license text.
|
Reference in New Issue
Block a user