Reader/pkg/internal/server/api/index.go

13 lines
184 B
Go
Raw Normal View History

2024-12-14 04:40:29 +00:00
package api
import (
"github.com/gofiber/fiber/v2"
)
func MapAPIs(app *fiber.App, baseURL string) {
api := app.Group(baseURL).Name("API")
{
api.Get("/link/*", getLinkMeta)
}
}