Given "GET / Load(Session())"
If Session is defined as func (R[T]) Session() T {}
And F is defined as func (R[T]) Load(T) Data {}
When the routes function is generated.
Then the receiver interface type may have generic parameters.
Package authors may publish packages that allow downstream users to use their own types.
Given "GET / Load(Session())"
If Session is defined as
func (R[T]) Session() T {}And F is defined as
func (R[T]) Load(T) Data {}When the routes function is generated.
Then the receiver interface type may have generic parameters.
Package authors may publish packages that allow downstream users to use their own types.