Last active
November 4, 2016 00:16
-
-
Save markphelps/051d344a89b030a1652ce7b5d0b1bca7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type conversation struct { | |
userID string | |
incoming chan *slack.MessageEvent | |
state chatFn | |
} | |
// conversations represents all convos in progress | |
// maps userID -> conversation pointer | |
var conversations = make(map[string]*conversation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment