github

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Owner = "UnstoppableMango"
	Repo  = "tdl"
)
View Source
const Parser parser = "GitHub"

Variables

View Source
var ErrMulti = errors.New("multiple release targets specified")
View Source
var SupportedSchemes = []string{
	"github",
	"https",
	"http",
}

Functions

This section is empty.

Types

type Option

type Option func(*release)

func WithArchiveContents

func WithArchiveContents(path ...string) Option

func WithOptions added in v0.0.33

func WithOptions(options ...Option) Option

func WithOwner

func WithOwner(owner string) Option

func WithRepo

func WithRepo(repo string) Option

func WithRepository

func WithRepository(owner, repo string) Option

type Release

type Release interface {
	tdl.Plugin
	progress.Observable
}

func NewRelease

func NewRelease(asset, name string, options ...Option) Release

func NewUml2Ts

func NewUml2Ts(options ...Option) Release

func ParseUrl added in v0.0.33

func ParseUrl(url *url.URL, options ...Option) (Release, error)

type ReleaseAsset

type ReleaseAsset = github.ReleaseAsset

type RepositoryRelease

type RepositoryRelease = github.RepositoryRelease

Jump to

Keyboard shortcuts

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