A sample of command line slack post client.
- Setup your slack incoming webhook. see https://api.slack.com/incoming-webhooks
- Set
config/config.toml
(you should seturl
andchannel
) - execute
go run slack_client.go post {some message}
from command line.