Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 508 Bytes

readme.md

File metadata and controls

24 lines (20 loc) · 508 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{})
}

deployment 3 test