version

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenNext

func GenNext(version string) string

GenNext 生成下一个版本号

func GenUpgrade

func GenUpgrade(version string, upgradeType VERSION_UPGRADE_TYPE) string

GenUpgrade 生成版本号

Types

type VERSION_UPGRADE_TYPE

type VERSION_UPGRADE_TYPE int
const (
	VERSION_UPGRADE_TYPE_MAJOR VERSION_UPGRADE_TYPE = 1
	VERSION_UPGRADE_TYPE_MINOR VERSION_UPGRADE_TYPE = 2
	VERSION_UPGRADE_TYPE_PATCH VERSION_UPGRADE_TYPE = 3
)

Jump to

Keyboard shortcuts

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