mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
Update Typo documentation (#2820)
This commit is contained in:
parent
738e062d5b
commit
455405c0f2
@ -1004,7 +1004,7 @@ An alternative version of the Locals method that takes advantage of Go's generic
|
|||||||
allows for the manipulation and retrieval of local values within a request's context with a more specific data type.
|
allows for the manipulation and retrieval of local values within a request's context with a more specific data type.
|
||||||
|
|
||||||
```go title="Signature"
|
```go title="Signature"
|
||||||
func Locals[V any](c Ctx, key any, value ...any) V
|
func Locals[V any](c Ctx, key any, value ...V) V
|
||||||
```
|
```
|
||||||
|
|
||||||
```go title="Example"
|
```go title="Example"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user