16 lines
215 B
Go
16 lines
215 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"git.gnous.eu/Rick/calendrier/routes"
|
||
|
"github.com/gofiber/fiber/v2"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
app := fiber.New()
|
||
|
routes.SetupApi(app)
|
||
|
err := app.Listen(":8080")
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|