content/flux/v0/stdlib/slack/_index.md
The slack package provides functions for sending messages to Slack.
Import the slack package:
import "slack"
option slack.defaultURL = "https://slack.com/api/chat.postMessage"
defaultURL defines the default Slack API URL used by functions in the slack package.
{{< children type="functions" show="pages" >}}