This repo is a simple example used as a starting point to deploy go web on Render.
-
Fork fromxt/google-proxy-render on GitHub.
-
Create a new Web Service on Render, and give Render permission to access your new repo.
-
Select GO for the environment and use the following values during creation:
Build Command
go build -tags netgo -ldflags '-s -w' -o app
Start Command
./app
-
Your app will be live on your Render URL as soon as the build finishes.