Skip to content
/ gin Public
forked from platformsh-templates/gin

Gin template for Platform.sh.

Notifications You must be signed in to change notification settings

Gurio/gin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gin for Platform.sh

Deploy on Platform.sh

This template builds the Gin framework for Platform.sh. It includes a minimalist application skeleton for demonstration, but you are free to alter it as needed.

Gin is a lightweight web framework written in Go that emphasizes performance.

Services

  • Go 1.13
  • MariaDB 10.2

Customizations

This project relies on Go module support in Go 1.11 and later. You should commit your go.mod and go.sum files to Git, but not the vendor directory.

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.

  • The .platform.app.yaml, .platform/services.yaml, and .platform/routes.yaml files 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.
  • An additional Go module, platformsh/config-reader-go, has been added. It provides convenience wrappers for accessing the Platform.sh environment variables.

References

About

Gin template for Platform.sh.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%