diff --git a/api/api.go b/api/api.go index 0033526bb8f13eb31d5ca982c8eb03ae7d3fc9a4..219cfa743d43c0f82ef1e4d728408e728eacfbaa 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"