func writeJSONToResponseURL(output string, url string) {
	outputJSON := OutputJSON{"in_channel", output}
	jBuffer := new(bytes.Buffer)
	json.NewEncoder(jBuffer).Encode(outputJSON)
	_, err := http.Post(url, "application/json", jBuffer)
	if err != nil {
		panic(err)
	}
}
//Logic for writing the output in Json format for Slack via the request's response_url
Logic for writing the output in Json format for Slack via the request's response_url
// Logic for writing the output in Json format for Slack via the request ' s response_url
func writeJSONToResponseURL(output string, url string) {
	outputJSON := OutputJSON{"in_channel", output}
	jBuffer := new(bytes.Buffer)
	json.NewEncoder(jBuffer).Encode(outputJSON)
	_, err := http.Post(url, "application/json", jBuffer)
	if err != nil {
		panic(err)
	}
}
func writeJSONToResponseURL ( output string , url string ) { outputJSON := OutputJSON { " " , output } jBuffer := new ( bytes . Buffer ) json . NewEncoder ( jBuffer ) . Encode ( outputJSON ) _ , err := http . Post ( url , " " , jBuffer ) if err != nil { panic ( err ) } }
Logic for writing the output in Json format for Slack via the request's response_url
Logic for writing the output in Json format for Slack via the request ' s response_url