🎉 Initial Commit
This commit is contained in:
12
pkg/internal/server/api/index.go
Normal file
12
pkg/internal/server/api/index.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user