An open API service indexing awesome lists of open source software.

https://github.com/fumeapp/gin-example

Example of running Gin in FUme
https://github.com/fumeapp/gin-example

Last synced: 8 months ago
JSON representation

Example of running Gin in FUme

Awesome Lists containing this project

README

          

# Gin+Fume example
> Example setup of a Gin project running in Fume



```go
package main

import (
fume "github.com/fumeapp/gin"
"github.com/gin-gonic/gin"
)

func main() {
routes := gin.New()
routes.GET("/", func(c *gin.Context) {
c.JSON(200, gin.H{"message": "Gin running with Fume"})
})
fume.Start(routes, fume.Options{})
}
```