genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[QS]: remove miss spelling

This commit is contained in:
mlabusch 2017-05-05 11:22:43 +02:00
parent 970b2eacbb
commit 0c12ac9c69
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// Package with supporting functionality to run the microservice
package runtime
// some functionality to handle it in background which is intermeshed
// some mingled functionality to handle in background

View File

@ -60,7 +60,7 @@ func NewSession(router *goji.Mux) *Request {
return &Request{router: router}
}
// Function to send a request to the router and recieve the api's answer
// Function to send a request to the router and receive the api's answer
func (r *Request) JSONRequest(method string, url string, body interface{}) (jsonResult interface{}, res *http.Response) {
jsonObj, _ := json.Marshal(body)
req, _ := http.NewRequest(method, url, bytes.NewReader(jsonObj))