Documentation ¶
Overview ¶
views/notfound.go
Index ¶
- func About(c *fiber.Ctx) error
- func Home(c *fiber.Ctx) error
- func Images(c *fiber.Ctx) error
- func Item(c *fiber.Ctx) error
- func Items(c *fiber.Ctx) error
- func NewItem(c *fiber.Ctx) error
- func NewUser(c *fiber.Ctx) error
- func NotFound(c *fiber.Ctx) error
- func SubmitItem(c *fiber.Ctx) error
- func SubmitUser(c *fiber.Ctx) error
- func Users(c *fiber.Ctx) error
- type HomeData
- type ItemData
- type ItemsData
- type UsersData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubmitItem ¶
func SubmitItem(c *fiber.Ctx) error
CreateItem handles the form submission for creating a new item
func SubmitUser ¶
func SubmitUser(c *fiber.Ctx) error
// CreateItem handles the form submission for creating a new item
Types ¶
type ItemData ¶
type ItemData struct { Title string Address string Item models.Item ImageUrl string Image string Description string }
ItemData defines the data structure for the item detail template
Click to show internal directories.
Click to hide internal directories.