cmd

package
v0.0.0-...-155e778 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Chunk

type Chunk struct {
	Variants []Variant `yaml:"variants"`
}

type SoftwareVersion

type SoftwareVersion struct {
	Cycle             string      `json:"cycle"`
	ReleaseDate       string      `json:"releaseDate"`
	Support           interface{} `json:"support"`
	EOL               string      `json:"eol"`
	Latest            string      `json:"latest"`
	LatestReleaseDate string      `json:"latestReleaseDate"`
	LTS               bool        `json:"lts"`
}

func CheckVersion

func CheckVersion(name string, version string) (SoftwareVersion, error)

type Variant

type Variant struct {
	Name string            `yaml:"name"`
	Args map[string]string `yaml:"args"`
}

Jump to

Keyboard shortcuts

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