Deploying Go
Adios is written in Go, and we love it. Go apps compile to a single binary, making them perfect for our runtime-first architecture.
Configuration
Create an adios.yaml file in the root of your project:
name: my-go-api
runtime: golang:1.22
build_cmd:
- go build -o main .
start_cmd:
- ./main
env:
PORT: $PORT
GIN_MODE: release
Deploy
$ adios up