Exploring GO packages -
is way explore go packages?
in java, have using "javap java.lang.string" command viewing method inside of class. this, command in go language ?
i have search same in google. didn't expected result.
go code distributed source , documentation tooling need search sources in $goroot/src directory or use godoc tool or go http://golang.org/pkg/ standard library or https://godoc.org/ many other libraries.
on command line run godoc <pkg name>, example godoc encoding/json.
by way, can java library sources using javap not shortest path. have documentation available online https://docs.oracle.com/javase/8/docs/api/
Comments
Post a Comment