statement

package
v5.5.7 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package statement is used to execute the statements for the command line interface. A return value is always used so that it can be output or further processed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(version1, version2 string) (string, error)

Compare is to compare the versions & return the result.

func Core

func Core(version, block string) (any, error)

Core is to get the version number, split it to core block and return them.

func Prefix

func Prefix(version, prefix string) string

Prefix is to get the version, check if the prefix exists & return the version without the prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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