Skip to content

Instantly share code, notes, and snippets.

@abhirockzz
Last active Mar 20, 2019
Embed
What would you like to do?
slackResponse := SlackResponse{Text: slackResponseStaticText, Attachments: []Attachment{Attachment{Text: title, ImageURL: url}}}
fdk.AddHeader(out, "Content-Type", "application/json")
json.NewEncoder(out).Encode(slackResponse)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment