Skip to content

RichardKnop/go-slack

 
 

Repository files navigation

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

About

Simple Golang SDK for Slack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 65.7%
  • Makefile 34.3%