dart

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PUB_REGISTRY_API = "https://pub.dev/api/packages/%s"

Variables

This section is empty.

Functions

This section is empty.

Types

type Pub

type Pub struct {
	// contains filtered or unexported fields
}

type PubDoctor

type PubDoctor struct {
	HTTPClient http.Client
}

func NewPubDoctor

func NewPubDoctor() *PubDoctor

func (*PubDoctor) Parse added in v1.2.0

func (*PubDoctor) SourceCodeURL

func (d *PubDoctor) SourceCodeURL(lib types.Library) (string, error)

type PubRegistryResponse

type PubRegistryResponse struct {
	Latest struct {
		Pubspec struct {
			Repository   string `json:"repository"`
			Homepage     string `json:"homepage"`
			IssueTracker string `json:"issue_tracker"`
		} `json:"pubspec"`
	} `json:"latest"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL