Deploy a Go web server with Docker
The app uses server-sent events (SSEs) to broadcast messages.
It also uses multi-stage Docker builds to keep the final image size as small as possible.
Fork render-examples/go-web-server on GitHub.
Create a new Web Service on Render, and give Render’s GitHub app permission to access your new repo.
Enter a name for the service; make sure the Environment is set to
Docker, and save.
That’s it! Your Go, Gin, and SSE powered chat server will be available on the URL in the dashboard as soon as the build finishes.