summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nlopes/slack/README.md')
-rw-r--r--vendor/github.com/nlopes/slack/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/README.md b/vendor/github.com/nlopes/slack/README.md
index b4148231..a5e8e5ef 100644
--- a/vendor/github.com/nlopes/slack/README.md
+++ b/vendor/github.com/nlopes/slack/README.md
@@ -35,7 +35,7 @@ func main() {
api := slack.New("YOUR_TOKEN_HERE")
// If you set debugging, it will log all requests to the console
// Useful when encountering issues
- // api.SetDebug(true)
+ // slack.New("YOUR_TOKEN_HERE", slack.OptionDebug(true))
groups, err := api.GetGroups(false)
if err != nil {
fmt.Printf("%s\n", err)