register

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDuplicateVersion = fmt.Errorf("版本重复,请修改")

ErrDuplicateVersion 表示版本重复的错误

Functions

func GetAllVersions

func GetAllVersions() []string

GetAllVersions 获取所有可用版本

func RegisterIncr

func RegisterIncr(app *ioc.App)

RegisterIncr 依照版本顺序进行注册

func RollbackToVersion

func RollbackToVersion(currentVersion, targetVersion string) error

RollbackToVersion 回滚到指定版本

func RunIncrementalOperations

func RunIncrementalOperations(currentVersion string) error

RunIncrementalOperations 执行所有低于当前版本的增量操作

func RunIncrementalOperationsToVersion

func RunIncrementalOperationsToVersion(currentVersion, targetVersion string) error

RunIncrementalOperationsToVersion 执行到指定版本的增量操作

Types

This section is empty.

Jump to

Keyboard shortcuts

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