Avatar ·

Is it possible to get a list of all standard Go packages? How to do it?

Hi everyone! I started learning Go about a month ago and am writing my first small project — a simple HTTP server with a couple of endpoints. In the process, I keep stumbling upon the fact that I don't know all the capabilities of the standard library. For example, I accidentally wrote my own function for working with JSON, even though Go already has `encoding/json`. Or I spent an hour implementing command-line flag parsing until I learned about `flag`. I got curious: is it possible to programmatically or via CLI get a full list of all packages that are part of the Go standard library? I tried `go list std`, but it just outputs a list of names, and I'm not sure that's all the packages. I also heard about `go doc`, but it only shows documentation for one package at a time. Here's what I've already tried: ```go // main.go package m