- run
$ dep ensureto get all required dependencies. - run
$ go build. - run
$ ./userq httpsrvto run http server. - open a new terminal and run
$ ./userq msgqsrvto run http server.
Now you are ready to open postman and post to http://localhost:3000
{
"firstname": "ayman",
"lastname": "hassan",
"address": "[email protected]",
"gender":"male",
"timestamp": 1537599615
}