Hosthing early access · Explore the product. Public self-service deployment is not open yet. Stay in touch →
Skip to content
Buildpack language · Deploy from Git

Deploy a Go app from Git.

Deploy Go services and APIs on Hosthing from a Git repository, built from your go.mod.

GoBuildpacks or DockerfilePriced by usage
How it works · Build and release

One delivery path, whichever runtime you bring.

Hosthing detects a supported buildpack or uses your Dockerfile, produces a revision and verifies the running application.

Illustrative product flow, not live resource status. Available operations depend on the selected provider, region, engine and configuration.

What it is

Deploying Go on Hosthing

Go is a statically-typed, compiled language designed for simple, reliable services. Hosthing builds it from your repository into a compact image.

How it is detected

Auto-detected from your repository.

When there is no Dockerfile, Hosthing selects the Go buildpack by finding these marker files in your repository:

Good to know

Honest, grounded notes

  • A go.mod file triggers Go detection and a module-aware build.
  • Compiled Go images are typically small, which keeps pulls and restarts quick.
  • Bind your HTTP server to the configured port on 0.0.0.0.
How to deploy

Deploy Go in three steps

  1. Connect your Git repository and choose the branch that holds your Go app.
  2. Review the detected build configuration, environment variables and listening port.
  3. Deploy — the build runs in the isolated Build Worker, then the image is run and health-checked.
Keep exploring

Other languages

Frequently asked

Deploying Go, answered.

Do I need a Dockerfile to deploy Go?

No. When there is no Dockerfile, Cloud Native Buildpacks (Paketo) detect Go from go.mod and build a reproducible image with a software bill of materials. If a Dockerfile is present, it is built instead with kaniko — a daemonless builder whose safety depends on runner isolation and configuration.

How is my Go app detected?

Hosthing analyses your repository and looks for marker files — go.mod. When a marker is found, the matching buildpack is selected automatically. You review the detected configuration before the first deploy.

How much does it cost to run a Go app?

You pay for the compute and storage the app uses, drawn from prepaid credit by the hour. There is no separate per-language fee. Review the estimate in the console before deploying.

Can I connect a database to my Go app?

Yes. Add a database to the project — in-project or a dedicated managed database — and a service binding delivers the endpoint and credentials to your app at runtime. Credentials are never exposed to the browser.

Less managing. More making.

Ship your Go app on Hosthing.

Explore the product and tell us what you want to build. Public self-service deployment is not open yet.