// DocsURL returns the URL of docs.
DocsURL returns the URL of docs.
// DocsURL returns the URL of docs .
func (pkg Package) DocsURL() string {
	if pkg.Docs != "" {
		return pkg.Docs
	}
	return fmt.Sprintf("https://pkg.go.dev/%s?tab=doc", pkg.Prefix())
}
func ( pkg Package ) DocsURL ( ) string { if pkg . Docs != " " { return pkg . Docs } return fmt . Sprintf ( " " , pkg . Prefix ( ) ) }
DocsURL returns the URL of docs.
DocsURL returns the URL of docs .