specs

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FLAG_V1_0 = "1.0" // default
	FLAG_V1_1 = "1.1" // Semver
	FLAG_V1_2 = "1.2" // Large Segment
	FLAG_V1_3 = "1.3" // Rule-based Segment
)
View Source
const (
	LARGESEGMENT_V10 = "1.0" // support for csv format with one column
)

Variables

This section is empty.

Functions

func Match

func Match(version string) *string

Match returns the spec version if it is valid, otherwise it returns nil

func ParseAndValidate

func ParseAndValidate(spec string) (string, error)

Types

type SplitVersionFilter

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

func NewSplitVersionFilter

func NewSplitVersionFilter() SplitVersionFilter

func (*SplitVersionFilter) ShouldFilter

func (f *SplitVersionFilter) ShouldFilter(matcher string, apiVersion string) bool

Jump to

Keyboard shortcuts

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