gomod

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package gomod provides go modules utilities, such as template variables and the ability to proxy the module from proxy.golang.org.

Package gomod provides go modules utilities, such as template variables and the ability to proxy the module from proxy.golang.org.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrProxy added in v0.162.0

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

ErrProxy happens when something goes wrong while proxying the current go module.

func (ErrProxy) Error added in v0.162.0

func (e ErrProxy) Error() string

func (ErrProxy) Unwrap added in v0.162.0

func (e ErrProxy) Unwrap() error

type Pipe

type Pipe struct{}

Pipe for gomod.

func (Pipe) Default added in v0.162.0

func (Pipe) Default(ctx *context.Context) error

Default sets the pipe defaults.

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

Run the pipe.

func (Pipe) String

func (Pipe) String() string

type ProxyPipe added in v0.180.0

type ProxyPipe struct{}

ProxyPipe for gomod proxy.

func (ProxyPipe) Run added in v0.180.0

func (ProxyPipe) Run(ctx *context.Context) error

Run the ProxyPipe.

func (ProxyPipe) Skip added in v0.180.0

func (ProxyPipe) Skip(ctx *context.Context) bool

func (ProxyPipe) String added in v0.180.0

func (ProxyPipe) String() string

Jump to

Keyboard shortcuts

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