Guides
Go

Deploy Go App

All projects based on Go Modules (opens in a new tab) can be deployed. But you need to have a main.go in the project root directory as the program compilation entry.

If you have multiple program compilation entries, you need to put them in the cmd directory, for example, a cmd/server-a/main.go and a cmd/server-b/main.go.

Zeabur will automatically recognize and deploy the program compilation entry with the same Service name under the cmd directory.