package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Oct 26, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Get[T any](c *fiber.Ctx) *T
Get returns the route parameter for T.
New returns middleware that looks for a route parameter corresponding to an ID, fetches
the model for it, and assigns it to c.Locals(name).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.