Introducing the pkg.go.dev API

25 points by jmillikin


kiyurica

Developers building tools, IDE integrations, and automated workflows have historically relied on fragile workarounds like web scraping to access this data.

Why don't these tools go get the package and run toolchain tools like go doc on them?

sigmonsez

this is really awesome, helps a lot with tooling which will has become more critical lately

eranb

Really cool that they expose symbols and imported-by. Hopefully replacing what a lot of tools and data aggregators do in downloading all the binaries and analysing them.

sugaryboa

Is it still not possible to download a go package in the standard UNIX tarball form: package-name-version.tar.gz ?

sinclairtarget

I'm excited about this because I have never been able to get the "/" shortcut (for searching) to work on pkg.go.dev in Firefox. Am I the only one? It works in Chrome, which makes me want to get out my tin foil hat.

Maybe this means someone will create a TUI or desktop app for browsing packages that I can use instead.