Crackord/fullstream/app/internal/handlers/welcome.go

13 lines
270 B
Go

package handlers
import (
"github.com/gofiber/fiber/v2"
)
func Welcome(c *fiber.Ctx) error {
// username := c.Locals("username").(string)
// password := c.Locals("password").(string)
// log.Printf("%s", username)
return c.Render("welcome", nil, "layouts/main")
}