semver

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Functions = rudi.Functions{
		"semver": rudi.NewFunctionBuilder(parseFunction).WithDescription("parses a string as a semantic version").Build(),
	}
)

Functions

This section is empty.

Types

type Semver

type Semver struct {
	Version blangsemver.Version
}

func (Semver) CoalesceToString

func (v Semver) CoalesceToString(_ coalescing.Coalescer) (string, error)

CoalesceToString implements coalescing.CustomStringCoalescer.

func (Semver) Compare

func (v Semver) Compare(other any) (int, error)

Equal implements equality.Comparer.

func (Semver) DeepCopy

func (v Semver) DeepCopy() (any, error)

DeepCopy implements deepcopy.Copier.

func (Semver) GetObjectKey

func (v Semver) GetObjectKey(name string) (any, error)

GetObjectKey implements jsonpath.ObjectWriter.

func (Semver) SetObjectKey

func (v Semver) SetObjectKey(name string, value any) (any, error)

SetObjectKey implements jsonpath.ObjectWriter.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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