9 lines
138 B
Go
9 lines
138 B
Go
|
package echoswagger
|
||
|
|
||
|
func proccessPath(path string) string {
|
||
|
if len(path) == 0 || path[0] != '/' {
|
||
|
path = "/" + path
|
||
|
}
|
||
|
return path
|
||
|
}
|