Cannot start a Go application exe as a windows services
<p>I have a application with Go language as the backend.
I can create a service using the sc and nssm as below :
<code>sc create TestService binpath=C:\User\sds\Desktop\test.exe nssm install TestService C:\User\sds\Desktop\test.exe</code></p>
<p>The services are created successfully but it doesn not get started. It gives <strong>startup timeout error</strong> while starting the service.</p>
<p>I need to start the application from windows services.</p>
<p>Thanks in advance.</p>