mirror of
https://github.com/beego/bee.git
synced 2024-11-22 20:20:55 +00:00
go format
This commit is contained in:
parent
ac1bf161fc
commit
985c18a314
@ -430,7 +430,7 @@ func parserComments(comments *ast.CommentGroup, funcName, controllerName, pkgpat
|
|||||||
typeFormat := strings.Split(sType, ":")
|
typeFormat := strings.Split(sType, ":")
|
||||||
para.Type = typeFormat[0]
|
para.Type = typeFormat[0]
|
||||||
para.Format = typeFormat[1]
|
para.Format = typeFormat[1]
|
||||||
}else {
|
} else {
|
||||||
fmt.Fprintf(os.Stderr, "[%s.%s] Unknow param type: %s\n", controllerName, funcName, typ)
|
fmt.Fprintf(os.Stderr, "[%s.%s] Unknow param type: %s\n", controllerName, funcName, typ)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user