Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func TestClient ¶
TestClient returns a pkgsite client that talks to either a fake server or the real pkg.go.dev, depending on the useRealPkgsite value.
For testing.
func (*Client) KnownModule ¶
KnownModule reports whether pkgsite knows that modulePath actually refers to a module.
func (*Client) SetKnownModules ¶
Click to show internal directories.
Click to hide internal directories.