Echo for Platform.sh
This template builds the Echo framework for Platform.sh. It includes a minimalist application skeleton for demonstration, but you are free to alter it as needed.
Echo is a lightweight, minimalist web framework written in Go.
- Go 1.12
- MariaDB 10.2
This project relies on Go module support in Go 1.11 and later. You should commit your
go.sum files to Git, but not the
The following files and additions make the framework work. If using this project as a reference for your own existing project, replicate the changes below to your project.
.platform/routes.yamlfiles have been added. These provide Platform.sh-specific configuration and are present in all projects on Platform.sh. You may customize them as you see fit.
.platform.template.yamlfile contains information needed by Platform.sh's project setup process for templates. It may be safely ignored or removed.
- An additional Go module,
platformsh/config-reader-go, has been added. It provides convenience wrappers for accessing the Platform.sh environment variables.