gomod

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VCS git.VCSProvider
}

Config provides configuration options for the github provider.

type Provider

type Provider struct {
	Config
}

Provider is a git functionality provider.

func NewProvider

func NewProvider(cfg Config) *Provider

NewProvider creates a new git functionality provider.

func (*Provider) GetLatestModuleList

func (p *Provider) GetLatestModuleList(args []string) ([]string, error)

GetLatestModuleList returns a list of modules with their respective latest tags.

func (*Provider) GetModReplacements

func (p *Provider) GetModReplacements(args []string) ([]string, error)

GetModReplacements returns a list of replacement directives.

Jump to

Keyboard shortcuts

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