Go Builds

The Go buildpack will detect your build is Go if you are using go modules, dep, govendor, glide, GB, or Godep. If detected, dependencies will be installed and the source compiled.

If no Procfile is found, a web process will be started with go run main.go.

Sample Go Procfile

Because Go builds produce a single binary, Railway knows how to serve the resulting build without a Procfile.

Edit this file on GitHub