8000 docs/src/pages/deploy/go.md at main · hmmhmmhm/docs · GitHub
[go: up one dir, main page]

Skip to content
  • Latest commit

     

    History

    History
    15 lines (11 loc) · 535 Bytes

    go.md

    File metadata and controls

    15 lines (11 loc) · 535 Bytes
    title Go Builds

    The Go buildpack will detect your that build is Go, if you are using go modules, dep, govendor, glide, GB, or Godep. If detected, the 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.

    0