From b88a4439c8799404c0603dc5bee4288b4db962f1 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 19 Apr 2021 22:15:34 +0200 Subject: [PATCH] fixup: update comment for optional api.Ctx --- internal/dynfunc/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/dynfunc/handler.go b/internal/dynfunc/handler.go index f47eed9..4c544bc 100644 --- a/internal/dynfunc/handler.go +++ b/internal/dynfunc/handler.go @@ -26,6 +26,7 @@ type Handler struct { // - `outputStruct` is a struct{} containing a field for each service output (with valid reflect.Type) // // Special cases: +// - a first optional input parameter of type `api.Ctx` can be added // - it there is no input, `inputStruct` must be omitted // - it there is no output, `outputStruct` must be omitted func Build(fn interface{}, service config.Service) (*Handler, error) {