Skip to content
Snippets Groups Projects
Commit f17c328b authored by Hemming,J. (Jacob)'s avatar Hemming,J. (Jacob)
Browse files

fixed json string

parent eb992956
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ func onMessageReceived(msg amqp.Delivery) {
// TODO: Test MQ result
querymap := make(map[string]interface{})
querymap["type"] = "query_result"
querymap["values"] = string(*result)
querymap["values"] = *result
querybyte, err := json.Marshal(querymap)
//fmt.Println(querymap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment