version

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrArgMustBeString = errors.New("argument must be string")
	ErrInvalidVersion  = errors.New("invalid version")
)

Functions

func WithVersionFuncs

func WithVersionFuncs() func(*godexer.Executor)

WithVersionFuncs registers value evaluator functions.

The following functions are available: - `version_lt(version1, version2 string) (bool, error)` - `version_lte(version1, version2 string) (bool, error)` - `version_gt(version1, version2 string) (bool, error)` - `version_gte(version1, version2 string) (bool, error)` - `version_eq(version1, version2 string) (bool, error)`

Types

This section is empty.

Jump to

Keyboard shortcuts

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