1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-30 08:17:18 +00:00
Former-commit-id: c6f2c47cece55865b381df33950e6dfd8ccf882f
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-03-27 14:38:10 +03:00
parent a95a02a16a
commit 251eeb6bd0
4 changed files with 136 additions and 6 deletions

View File

@@ -11,14 +11,14 @@ const (
// /myparam
ParamTypeAlphabetical
// /myparam1/myparam2
ParamPath
ParamTypePath
)
var paramTypes = map[string]ParamType{
"int": ParamTypeInt,
"string": ParamTypeString,
"alphabetical": ParamTypeAlphabetical,
"path": ParamPath,
"path": ParamTypePath,
// could be named also:
// "tail":
// "wild"