You don't need to use nginx to check if your golang application is listening. While you are at same host as your application - check it directly.
Attach logs from terminal where you start your golang application. It seems it's not runing at all. So - may be it was written with errors, may be require some args or envs and so on.