Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 489 Bytes

readme.md

File metadata and controls

23 lines (19 loc) · 489 Bytes

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