Registry / messaging / nlopes-slack

nlopes-slack

JSON →
library0.6.0gogounverified

A Go library for the Slack API.

go get github.com/nlopes/slack
INSTALL
IMPORT
SIG · NLOPES-SLACK
N
nlopes-slack
messaginggov0.6.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/nlopes/slack

Initialize a Slack client and list channels.

package main import ( "fmt" "github.com/nlopes/slack" ) func main() { api := slack.New("YOUR_TOKEN") channels, err := api.GetChannels(false) if err != nil { panic(err) } fmt.Println(channels) }
Debug
Known issues
breakingThis library is deprecated in favor of github.com/slack-go/slack.
fix
Migrate to github.com/slack-go/slack for continued support.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources
nlopes-slack — go get nlopes-slack · libregistry