Re: [go-nuts] godoc and generic code

2022-11-04 Thread Marcel Huijkman
Perhaps update godoc: go install golang.org/x/tools/cmd/godoc@latest On Friday, November 4, 2022 at 7:18:28 AM UTC+1 tapi...@gmail.com wrote: > You may also try Golds: https://github.com/go101/golds. > Still not perfect in handling custom generic things, > but it is generally usable. > > On

Re: [go-nuts] godoc and generic code

2022-11-04 Thread tapi...@gmail.com
You may also try Golds: https://github.com/go101/golds. Still not perfect in handling custom generic things, but it is generally usable. On Friday, November 4, 2022 at 1:26:26 AM UTC+8 Hotei wrote: > Thanks for the very helpful replies. < go doc -all pkg > should meets my > needs for printed

Re: [go-nuts] godoc and generic code

2022-11-03 Thread Hotei
Thanks for the very helpful replies. < go doc -all pkg > should meets my needs for printed documentation. I guess I will have to weigh the convenience of navigating which the godoc html version provides vs the inconvenience of "instantiating" the methods required by the types [T] I use in

Re: [go-nuts] godoc and generic code

2022-11-03 Thread 'Sebastien Binet' via golang-nuts
On Thu Nov 3, 2022 at 14:02 CET, Jan Mercl wrote: > On Thu, Nov 3, 2022 at 12:49 PM Hotei wrote: > > > I added some generic code to a project and godoc doesn't seem to like that > > and stops working when it sees the generics. It's a 4 year old version of > > godoc so that's perhaps not a

Re: [go-nuts] godoc and generic code

2022-11-03 Thread Jan Mercl
On Thu, Nov 3, 2022 at 12:49 PM Hotei wrote: > I added some generic code to a project and godoc doesn't seem to like that > and stops working when it sees the generics. It's a 4 year old version of > godoc so that's perhaps not a surprise. What is a surprise is that godoc > isn't shipped