victor icon indicating copy to clipboard operation
victor copied to clipboard

Slack issue

Open amlwwalker opened this issue 9 years ago • 4 comments

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?

amlwwalker avatar Oct 11 '15 22:10 amlwwalker

Thanks for letting me know. I'll take a look this evening.

brettbuddin avatar Oct 11 '15 23:10 brettbuddin

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.

JonnieCache avatar Oct 13 '15 14:10 JonnieCache

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.

brettbuddin avatar Oct 14 '15 23:10 brettbuddin

To avoid this you can of trouble you can use godep https://github.com/tools/godep

shinji62 avatar Nov 25 '15 07:11 shinji62