version

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

Package version contains a version number struct that pango uses to make decisions on the specific structs to use when sending XML to the PANOS device.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Number

type Number struct {
	Major, Minor, Patch int
	Suffix              string
}

Number is the version number struct.

func New

func New(version string) (Number, error)

New returns a version number from the given string.

func (Number) Gte

func (v Number) Gte(o Number) bool

Gte tests if this version number is greater than or equal to the argument.

func (Number) String

func (v Number) String() string

String returns the version number as a string.

Jump to

Keyboard shortcuts

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