versioning

package
v0.0.0-...-5152f1c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionRange

type VersionRange interface {
	Between(needle *semver.Version) bool
	BetweenOrEmpty(needle *semver.Version) bool
}

func NewRange

func NewRange(lowerInclusive, upperExclusive string) (VersionRange, error)

NewRange is the "normal" [1.1.0, 1.2)

func NewRangeOrDie

func NewRangeOrDie(lowerInclusive, upperExclusive string) VersionRange

Jump to

Keyboard shortcuts

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