slack-term
slack-term copied to clipboard
Crash: json: cannot unmarshal object into Go
2020/03/20 15:30:04 json: cannot unmarshal object into Go struct field Attachment.messages.attachments.blocks of type slack.Block
Version: 2ee21247add4e50660e8b3b90b285814d21d8ad6
Installation method: go get -u github.com/erroneousboat/slack-term
Related: https://github.com/slack-go/slack/issues/645
Hi @lunemec @erroneousboat Can I try solving this ? (Crash: json: cannot unmarshal object into Go #237)
Gathering from the issue on slack-go, there has been a merge of a pull request that might resolve the issue. I've updated the code to use the newest version of slack-go on master. Check out master to see if the problem persists or not.
Encountered the same issue. Will test 0.5.1 once released.
json: cannot unmarshal object into Go struct field Attachment.messages.attachments.blocks of type slack.Block
@erroneousboat , I was using the 0.5.0 binary version and had the same bug. I just installed slack-term from master with the go method.
No more crashes.
Hey, any progress on this? maybe a new release? because the 0.5.0 release contains it, as the comment above specified...
I had to do go install github.com/erroneaousboat/slack-term@master
then ~/go/bin/slack-term
to get it to work