Browse Source
Merge pull request #300 from WinterBokeh/main
Fix a syntax error in a code comment
alpha
yedf2
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dtmutil/utils.go
|
|
|
@ -64,7 +64,7 @@ func WrapHandler(fn func(*gin.Context) interface{}) gin.HandlerFunc { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// WrapHandler2 wrap a function te bo the handler of gin request
|
|
|
|
// WrapHandler2 wrap a function to be the handler of gin request
|
|
|
|
// used by dtmsvr
|
|
|
|
func WrapHandler2(fn func(*gin.Context) interface{}) gin.HandlerFunc { |
|
|
|
return func(c *gin.Context) { |
|
|
|
|