Re: [go-nuts] [generics] Trying to make some generic handler

2020-08-07 Thread Ian Lance Taylor
On Thu, Aug 6, 2020 at 7:23 PM wrote: > > I'm quite happy about the generics so far, but now I'm trying some ideas that > I don't know if they are possible or not given the current proposal. > My idea, is to create some kind of generic handler for "net/http" that could > be used in a whole proje

[go-nuts] [generics] Trying to make some generic handler

2020-08-06 Thread dolanor
Hi, I'm quite happy about the generics so far, but now I'm trying some ideas that I don't know if they are possible or not given the current proposal. My idea, is to create some kind of generic handler for "net/http" that could be used in a whole project. It would allow same behavior on each rou