Simple Golang SDK for Slack.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 7 commits ahead, 3 commits behind AreaHQ:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
vendor/github.com
.travis.yml
LICENSE
Makefile
README.md
adapter.go
adapter_mock.go
config.go
gometalinter.json
interface.go
package.go

README.md

go-slack

A simple Golang SDK for Slack.

Travis Status for RichardKnop/go-slack

Usage

package main

import (
	"log"

	"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
	)
}