cmd

package
v0.0.0-...-3b2fc95 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Exception

type Exception struct {
	Path       string
	MinVersion string    `yaml:"minVersion"`
	ValidUntil time.Time `yaml:"validUntil"`
}

type Exceptions

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

func (*Exceptions) Add

func (e *Exceptions) Add(ex *Exception)

func (*Exceptions) Get

func (e *Exceptions) Get(p string) *Exception

func (*Exceptions) IsNew

func (e *Exceptions) IsNew() bool

func (*Exceptions) Load

func (e *Exceptions) Load() error

func (*Exceptions) Remove

func (e *Exceptions) Remove(p string)

func (*Exceptions) Save

func (e *Exceptions) Save() error

type Module

type Module struct {
	Path     string
	Version  string
	Update   Update
	Indirect bool
}

type Update

type Update struct {
	Path, Version string
}

Jump to

Keyboard shortcuts

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