Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/godoc: make version annotation support usable by others, use modules? #31684
godoc's web server mode shows which versions of Go introduced certain API features, but that's hard-coded to use $GOROOT/api/*.txt.
Perhaps we could make it work for other repos? Perhaps a tool that builds the necessary index files (some similar *.txt format?) using module versions?
Request from @corylanou at https://twitter.com/corylanou/status/1121414668323450881