From 455405c0f24d377b3c71711cb11a0109c59be07c Mon Sep 17 00:00:00 2001 From: Muh Ihsan Nur Date: Tue, 30 Jan 2024 15:52:14 +0700 Subject: [PATCH] Update Typo documentation (#2820) --- docs/api/ctx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/ctx.md b/docs/api/ctx.md index 1b3bcbb5..1b066175 100644 --- a/docs/api/ctx.md +++ b/docs/api/ctx.md @@ -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. ```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"