mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
:)
This commit is contained in:
@@ -18,7 +18,7 @@ func Parse(fullpath string, paramTypes []ast.ParamType) ([]*ast.ParamStatement,
|
||||
return nil, fmt.Errorf("empty parameter types")
|
||||
}
|
||||
|
||||
pathParts := strings.SplitN(fullpath, "/", -1)
|
||||
pathParts := strings.Split(fullpath, "/")
|
||||
p := new(ParamParser)
|
||||
statements := make([]*ast.ParamStatement, 0)
|
||||
for i, s := range pathParts {
|
||||
|
||||
Reference in New Issue
Block a user