111
// Constant returns a [Component] that represents a series of constant HTTP path components in a Route.
112
// They will be joined via strings when used to construct a path or path representation.
114
>
return values
115
>
}
116
117
type constant[T any] []string
118
120
>
return strings.Join(s, "/")
121
>
}
122
123
func (s constant[T]) Serialize(T) string {