Registry / messaging / ashwanthkumar-slack-go-webhook

ashwanthkumar-slack-go-webhook

JSON →
library0.0.0-20200209025033-430dd4e66960gogounverified

A Go library for sending messages to Slack via incoming webhooks.

go get github.com/ashwanthkumar/slack-go-webhook
INSTALL
IMPORT
SIG · ASHWANTHKUMAR-SLAC
A
ashwanthkumar-slack-go-webhook
messaginggov0.0.0-20200209025033-430dd4e66960
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/ashwanthkumar/slack-go-webhook

Send a simple text message to a Slack channel via webhook.

package main import ( "fmt" "github.com/ashwanthkumar/slack-go-webhook" ) func main() { webhookURL := "https://hooks.slack.com/services/..." payload := slack.Payload{Text: "Hello from Go!"} err := slack.Send(webhookURL, "", payload) if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200209025033-430dd4e66960latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
ashwanthkumar-slack-go-webhook — go get ashwanthkumar-slack-go-webhook · libregistry