vanity

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(host string, fs afero.Fs) *publisher

Types

type Meta

type Meta struct {
	Package string
	Import  MetaImport
	Source  MetaSource
}

type MetaImport

type MetaImport struct {
	Prefix, VCS, RepoRoot string
}

MetaImport represents the parsed <meta name="go-import" content="prefix vcs reporoot" /> tags from HTML files.

See cmd/go/internal/get/vcs.go (metaImport).

type MetaSource

type MetaSource struct {
	URL, Dir, File string
}

Jump to

Keyboard shortcuts

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