StaticPath returns the static part of the original, registered route path. if /user/{id} it will return /user if /user/{id}/friend/{friendid:uint64} it will return /user too if /assets/{filepath:path} it will return /assets.
()
| 41 | // if /user/{id}/friend/{friendid:uint64} it will return /user too |
| 42 | // if /assets/{filepath:path} it will return /assets. |
| 43 | StaticPath() string |
| 44 | |
| 45 | // ResolvePath returns the formatted path's %v replaced with the args. |
| 46 | ResolvePath(args ...string) string |