Skip to content

fumeapp/gin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gin+Fume example

Example setup of a Gin project running in Fume

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{})
}

About

Example of running Gin in FUme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages