Example of API in Golang
You're going to need:
- Create
config.toml
likeconfig-example.toml
. Put all envs values like PORT.
Go
# build and run
go run main.go
# Build and generate exec
go build
# exec the app builded
./first-api-go
Docker
make build && make run