About godoc and private doc server

89 views
Skip to first unread message

Ain

unread,
May 30, 2019, 5:10:21 PM5/30/19
to golang-nuts
Hi

It seems that godoc doesn't work with modules, in the sense that it doesn't find / show documentation of the modules outside GOPATH...?

And about doc server... say I want to have private godoc server, mainly to serve doc of some private libs (hosted on github, but private repos) but wouldn't mind if it also contains stdlib doc and popular "public libs" - what options do I have? I can think of two:

1) something godoc based - install the libs into GOPATH, launch godoc and expose it... probably have to create custom template too;
2) use godoc.org, available at github golang/gddo repo.

Any other options?
Any tips how to set it up (ie what needs to be done to get godoc.org up and able to access private repos)?


TIA
ain
Reply all
Reply to author
Forward
0 new messages