From 97673fce459f457974893d7c83c1ee6f8c2f875c Mon Sep 17 00:00:00 2001 From: Cornelius Rautenbach <cornel.rautenbach@gmail.com> Date: Thu, 4 Nov 2021 15:35:41 +0200 Subject: [PATCH] OCD --- api/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/api.go b/api/api.go index 0033526..219cfa7 100644 --- a/api/api.go +++ b/api/api.go @@ -17,9 +17,9 @@ import ( // Ctx extends service ctx to include url etc. var Ctx Context -//New creates the API with the specified routes keys on [path][method] -//value could be any of the handler function signatures supported by the api.Router -//requestIDHeaderKey is defined in the response header to match the requestID from the request +// New creates the API with the specified routes keys on [path][method] +// value could be any of the handler function signatures supported by the api.Router +// requestIDHeaderKey is defined in the response header to match the requestID from the request func New(requestIDHeaderKey string, routes map[string]map[string]interface{}) Api { if requestIDHeaderKey == "" { requestIDHeaderKey = "request-id" -- GitLab