22 lines
286 B
Go
22 lines
286 B
Go
package heart
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"bdgrp_go/routes"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func init() {
|
|
path := routes.PathOf()
|
|
routes.Register(func(app *fiber.App) {
|
|
app.Get(path, heart)
|
|
fmt.Println("Loaded:", path)
|
|
})
|
|
}
|
|
|
|
func heart(c *fiber.Ctx) error {
|
|
return c.SendString("")
|
|
}
|