- run
$ dep ensure
to get all required dependencies. - run
$ go build
. - run
$ ./userq httpsrv
to run http server. - open a new terminal and run
$ ./userq msgqsrv
to 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
}