ImmutableString
function that does the above and is available in the gofiber/utils package.Immutable
setting. It will make all values returned from the context immutable, allowing you to persist them anywhere. Of course, this comes at the cost of performance.http://localhost:3000
and you should see Hello, World!
on the page.GET
, PUT
, POST
, etc.).app
is an instance of Fiberpath
is a virtual path on the serverfunc(*fiber.Ctx) error
is a callback function containing the Context executed when the route is matched./public
:./public
directory: