54 lines
625 B
Markdown
54 lines
625 B
Markdown
# slacksend
|
|
|
|
Slackにメッセージを送信する
|
|
|
|
## Functions
|
|
|
|
* Slackのチャンネルにメッセージを送信する
|
|
* Incoming Webhookに対応
|
|
|
|
|
|
---
|
|
|
|
## Dev
|
|
|
|
実行
|
|
|
|
```sh
|
|
go run ./cmd/slacksend
|
|
```
|
|
|
|
ビルド
|
|
|
|
|
|
```sh
|
|
go build -o slacksend ./cmd/slacksend
|
|
```
|
|
|
|
## Init
|
|
|
|
```sh
|
|
go mod init gitea.pglikers.com/tools/slacksen
|
|
```
|
|
|
|
## Docs
|
|
|
|
### Markdown
|
|
|
|
`gomarkdoc`のInstallが必要です
|
|
|
|
```sh
|
|
go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest
|
|
gomarkdoc ./... > docs/api.md
|
|
```
|
|
|
|
### Webserver
|
|
|
|
`pkgsite`のInstallが必要です
|
|
|
|
```sh
|
|
go install golang.org/x/pkgsite/cmd/pkgsite@latest
|
|
pkgsite
|
|
```
|
|
|