From 6a78351a2c3a950450711cd87a8ff0ecd8c4e5f0 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 20 Jun 2021 00:56:25 +0200 Subject: [PATCH] doc: update README for *api.Context handler argument --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8110b9..0cda3fc 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ type res struct{ Output2 bool } -func myHandler(r req) (*res, api.Err) { +func myHandler(ctx *api.Context, r req) (*res, api.Err) { err := doSomething() if err != nil { return nil, api.ErrFailure