How to access platform specific package documentation?
问题 We can access Go's package documentation online on the official website: https://golang.org/pkg/ This only contains the package documentation available on the linux platform ( GOOS ), amd64 archicture ( GOARCH ). Or offline via the go doc command, e.g package doc of the syscall package. go doc syscall This shows documentation for the platform of the Go SDK. Some packages have different API based on the platform we target, most famous is the syscall package. How can we access platform specific