package main
import (
"github.com/goex-top/dingding"
)
func main() {
var (
token = "xxx"
keyword = "\nkeywords"
ding = dingding.NewDing("xxx")
)
ding.SendMarkdown(Markdown{Title: "markdown测试", Content: "#### 杭州天气\n" +
"> 9度,西北风1级,空气良89,相对温度73%\n\n" +
"> ![screenshot](http://image.jpg)\n" +
"> ###### 10点20分发布 [天气](http://www.thinkpage.cn/)" + keyword}))
}
forked from goex-top/dingding
kingcent/dingding
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
钉钉 hook 自定义机器人, golang api hook
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Go 100.0%