Skip to content
master
Go to file
Code
This branch is 7 commits ahead, 3 commits behind AreaHQ:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Simple Golang SDK for Slack.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.