semver

package
v0.0.0-...-5831727 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constraints

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

func (*Constraints) Or

func (cs *Constraints) Or(r *Range)

func (Constraints) String

func (cs Constraints) String() string

type Range

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

func NewLowerBoundedRange

func NewLowerBoundedRange(version string, inclusive bool) (*Range, error)

func NewRange

func NewRange(fromVersion string, fromInclusive bool, toVersion string, toInclusive bool) (*Range, error)

func NewUpperBoundedRange

func NewUpperBoundedRange(version string, inclusive bool) (*Range, error)

func NewWildcardRange

func NewWildcardRange() (*Range, error)

func (Range) String

func (r Range) String() string

Jump to

Keyboard shortcuts

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