func writeJSON(w http.ResponseWriter, output string) {
	outputJSON := OutputJSON{"in_channel", output}

	w.Header().Set("Content-Type", "application/json")
	json.NewEncoder(w).Encode(outputJSON)
}
//Logic for writing the output in Json format for Slack
Logic for writing the output in Json format for Slack
// Logic for writing the output in Json format for Slack
func writeJSON(w http.ResponseWriter, output string) {
	outputJSON := OutputJSON{"in_channel", output}
	w.Header().Set("Content-Type", "application/json")
	json.NewEncoder(w).Encode(outputJSON)
}
func writeJSON ( w http . ResponseWriter , output string ) { outputJSON := OutputJSON { " " , output } w . Header ( ) . Set ( " " , " " ) json . NewEncoder ( w ) . Encode ( outputJSON ) }
Logic for writing the output in Json format for Slack
Logic for writing the output in Json format for Slack