Skip to content
Back to Templates

Go API Starter

Deploy Go APIs with zero configuration.

go-dark

Go Starter

Deploy your Go project to Vercel with zero configuration. Uses only the standard library (net/http).

Live Example: https://vercel-plus-go.labs.vercel.dev/

Visit the Go documentation to learn more.

Getting Started

Make sure you have Go installed. If not, install it from go.dev.

Build the project:

go build ./cmd/server

Running Locally

Start the development server on http://localhost:3000

go run ./cmd/server

When you make changes to your project, restart the server to see your changes.

Deploying to Vercel

Deploy your project to Vercel with the following command:

npm install -g vercel
vercel --prod

Or git push to your repository with our git integration.

To view the source code for this template, visit the example repository.

GitHub Repovercel/examples
Stack