Skip to main content

Gin

Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.

Check out their official documentation here

Deploy a Gin App

Deployment Instructions

  1. Fork/Clone this Hostless-Gin-Example repo from github

  2. Click on 'Create New App'

  3. Choose a suitable app name

  4. Choose your github account

  5. Choose the forked github repo/the cloned remote repo

  6. Choose a build system

    1. 'Detect automatically with Nixpicks' - automatically detects the programming language and builds the app
    2. 'Docker' - looks for a Dockerfile in the root of the project and build based on the instructions
  7. Input a start command(optional)

  8. The PORT environment variable is set by Hostless

Sample configuration

sample

Example project

An example project is hosted on https://hostless-gin-example.hostless.app/