Registry / messaging / slack-go-slack

slack-go-slack

JSON →
library0.26.0gogounverified

Package slack provides a client for the Slack API.

go get github.com/slack-go/slack
INSTALL
IMPORT
SIG · SLACK-GO-SLACK
S
slack-go-slack
messaginggov0.26.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

slack
github.com/slack-go/slack

Send a message to a Slack channel.

package main import ( "fmt" "github.com/slack-go/slack" ) func main() { api := slack.New("YOUR_TOKEN") _, err := api.PostMessage("#general", slack.MsgOptionText("Hello!", false)) if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.26.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
2
Amazon
1
Resources
slack-go-slack — go get slack-go-slack · libregistry