iris/_examples/configuration/multi-environments/README.md

14 lines
187 B
Markdown
Raw Normal View History

2022-06-04 01:42:33 +02:00
# Environment-based Configuration
## Run production server
```sh
$ go run main.go --config=server.yml
```
## Run development server
```sh
$ go run main.go --config=server.dev.yml
```