victor
victor copied to clipboard
Slack issue
Hey,
I cloned the repository, did a go get
on all the requirements, and then when I run the main.go
in the simple example, I get:
# github.com/brettbuddin/victor/pkg/chat/slackRealtime
../../pkg/chat/slackRealtime/slackRealtime.go:69: undefined: slack.Slack
../../pkg/chat/slackRealtime/slackRealtime.go:70: undefined: slack.WS
../../pkg/chat/slackRealtime/slackRealtime.go:72: undefined: slack.SlackEvent
Any ideas why?
Thanks for letting me know. I'll take a look this evening.
I'm seeing this too.
EDIT: Related to some changes in the slack api client. It sucks that go doesnt let you pin package versions.
Relevant commits:
https://github.com/nlopes/slack/commit/16288f9a445cde22e188f3ca72c1919559411e23 https://github.com/nlopes/slack/commit/650aeee7b266b910858af6e04cea0283ea88932a
editing with more as I find them.
Update: I wasn't able to get as much done as I had hoped. Still working to get this fixed properly. @JonnieCache Thanks for the preliminary investigation.
To avoid this you can of trouble you can use godep https://github.com/tools/godep