specs

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

View Source
const (
	FLAG_V1_0 = "1.0"
	FLAG_V1_1 = "1.1"
)

Variables

This section is empty.

Functions

func Match

func Match(specVersion string) *string

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

Types

type SplitVersionFilter

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

func NewSplitVersionFilter

func NewSplitVersionFilter() SplitVersionFilter

func (*SplitVersionFilter) ShouldFilter

func (s *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