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 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 this project.  The pkgsite option doesn't seem workable in my case 
> for the reasons eloquently described by one of the posters to issue 49212.  
> At any rate, problem solved and thanks again to the golang-nuts group for 
> the assistance!
>
> On Thursday, November 3, 2022 at 9:32:09 AM UTC-4 Sebastien Binet wrote:
>
>> On Thu Nov 3, 2022 at 14:02 CET, Jan Mercl wrote:
>> > On Thu, Nov 3, 2022 at 12:49 PM Hotei <hote...@gmail.com> 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 with go any longer. Is there a version that handles generics 
>> and if so where can I find it? A quick search of github came up empty but I 
>> know things have been moved around so some hints would be much appreciated.
>> >
>> > I'm not in favor of the fact, but It's been deprecated a year ago:
>> > https://github.com/golang/go/issues/49212
>>
>> one can use godocs.io for a maintained "godoc-like" binary:
>>
>> - https://godocs.io/go-hep.org/x/hep/sliceop
>> - https://sr.ht/~sircmpwn/godocs.io/
>>
>> (otherwise, 'go doc' does support "generics")
>>
>> hth,
>> -s
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/fc14224a-6325-4cd1-a313-af6bfb7e1f67n%40googlegroups.com.

Reply via email to