echoswagger/converter.go

9 lines
138 B
Go
Raw Normal View History

2018-08-31 14:47:37 +02:00
package echoswagger
func proccessPath(path string) string {
if len(path) == 0 || path[0] != '/' {
path = "/" + path
}
return path
}