This repository has been archived on 2025-11-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
combluotion-old/main.go

19 lines
276 B
Go

package main
import (
"log"
"codeberg.org/danjones000/gopub/config"
"github.com/gofiber/fiber/v2"
)
func main() {
app := fiber.New()
config := config.GetConfig()
app.Get("/", func(c *fiber.Ctx) error {
return c.JSON(&config)
})
log.Fatal(app.Listen(":3000"))
}