cmp

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result uint8

Result is the result of comparing two things.

const (

	// EqualTo is used to indicate two things are equal.
	EqualTo Result
	// GreaterThan is used to indicate one thing is greater than another.
	GreaterThan
	// LessThan is used to indicate one thing is less than another.
	LessThan
)

func Versions

func Versions(urlA, urlB string) (Result, error)

Versions compares schema URL versions and returns the Result of a vs b (i.e. a is [result value] b).

Jump to

Keyboard shortcuts

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