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