Skip to content

fumeapp/fiber-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fiber+Fume example

Example setup of a Fiber project running in Fume

package main

import (
	fume "github.com/fumeapp/fiber"
	"github.com/gofiber/fiber/v2"
)

func main() {
	app := fiber.New()
	app.Get("/", func(c *fiber.Ctx) error {
		return c.Status(200).JSON(&fiber.Map{"message": "Fiber running with Fume"})
	})
	fume.Start(app, fume.Options{})
}

About

Example of running fiber in Fume

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages