mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
format code
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
const REQUEST_ID_HEADER = "X-Request-ID"
|
||||
|
||||
func RequestId(config *settings.Config) core.MiddlewareHandlerFunc {
|
||||
return func (c *core.Context) {
|
||||
return func(c *core.Context) {
|
||||
if requestid.Container.Current == nil {
|
||||
c.Next()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user