优化
This commit is contained in:
@@ -177,3 +177,9 @@ func routeMetadata(method, path string) (string, string) {
|
||||
}
|
||||
return routeGroup(path), ""
|
||||
}
|
||||
|
||||
// RouteMetadata exposes the administration API grouping and description to
|
||||
// transport-level documentation without leaking the metadata table itself.
|
||||
func RouteMetadata(method, path string) (string, string) {
|
||||
return routeMetadata(method, path)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user