pub

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Type string = "pub"

Variables

View Source
var Manifests = []string{"pubspec.yaml", "pubspec.lock"}

Functions

func CheckRelatedFile

func CheckRelatedFile(file string) (string, bool, bool)

func Scan

func Scan(data interface{}) interface{}

Types

type Description

type Description struct {
	Name string `yaml:"name"`
	URL  string `yaml:"url"`
}

type Lockfile

type Lockfile struct {
	Packages map[string]Package `yaml:"packages"`
}

type Package

type Package struct {
	Dependency  string      `yaml:"dependency"`
	Description Description `yaml:"description"`
	Source      string      `yaml:"source"`
	Version     string      `yaml:"version"`
}

Jump to

Keyboard shortcuts

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