Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be really cool if godoc had a way to generate a module-specific documentation site like Rust can with `cargo doc`: https://doc.rust-lang.org/cargo/commands/cargo-doc.html

Basically, read the go.mod and generate the doc page for that. It doesn't seem like a big leap from what godoc already does, but AFAIK (and please correct me if I'm wrong), godoc doesn't have an option for this.

The reason I like it is it's basically a super simple "give me all the docs that are relevant to this project" command. I think it's super clever that cargo does this!



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: