router/brace.go
func Brace(path string) *brace {
	matches := strings.Split(path, "/")
	return &brace{
		matches: matches,
	}
}
func Brace(path string) *brace {
	matches := strings.Split(path, "/")
	return &brace{
		matches: matches,
	}
}
// Brace matches path with REST-full resources URI in brace form.
// e.g., "/foo/v1/bar/v2" will map to "/{foo}/{bar}" form,
// while the value of "foo" and "bar" are "v1" and "v2", respectively.