Can I list all standard Go packages?

You can use the new golang.org/x/tools/go/packages for this. This provides a programmatic interface for most of go list: package main import ( “fmt” “golang.org/x/tools/go/packages” ) func main() { pkgs, err := packages.Load(nil, “std”) if err != nil { panic(err) } fmt.Println(pkgs) // Output: [archive/tar archive/zip bufio bytes compress/bzip2 … ] } To get a isStandardPackage() … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)