Go Slack
A simple Golang SDK for Slack.
Usage
package main
import (
"log"
slack "github.com/AreaHQ/go-slack"
)
func main() {
cnf := &slack.Config{IncomingWebhook: "incoming_webhook"}
adapter := slack.NewAdapter(cnf)
err = adapter.SendMessage(
"#some-channel",
"some-username",
"message to send",
"", // emmoji
)
}