init
This commit is contained in:
21
local/api/api.go
Normal file
21
local/api/api.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
/*
|
||||
Init
|
||||
|
||||
Initializes Web API Routes.
|
||||
|
||||
Args:
|
||||
*fiber.App: Fiber Application.
|
||||
*/
|
||||
func Init(app *fiber.App) {
|
||||
Routes(app)
|
||||
}
|
||||
|
||||
type API struct {
|
||||
Api string `json:"api"`
|
||||
}
|
||||
Reference in New Issue
Block a user