IsRestfulPath 检查路径是否有restful参数
(path string)
| 116 | |
| 117 | // IsRestfulPath 检查路径是否有restful参数 |
| 118 | func IsRestfulPath(path string) bool { |
| 119 | return restfulPathMatchRegexp.MatchString(path) |
| 120 | } |
| 121 | |
| 122 | // IsRestfulParam 检查是否为restful参数 |
| 123 | func IsRestfulParam(param string) bool { |