migration

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TryToMigrate

func TryToMigrate(repoPath string) error

TryToMigrate used to migrate data(db,config,file,etc) in local repo

func Version3Upgrade

func Version3Upgrade(repoPath string) error

Version3Upgrade 3 for a config filed named apiAuthUrl

func Version4Upgrade added in v1.0.4

func Version4Upgrade(repoPath string) (err error)

func Version5Upgrade added in v1.1.0

func Version5Upgrade(repoPath string) (err error)

Version5Upgrade

func Version6Upgrade added in v1.1.0

func Version6Upgrade(repoPath string) (err error)

Version6Upgrade

func Version7Upgrade added in v1.2.0

func Version7Upgrade(repoPath string) (err error)

Version7Upgrade

func Version8Upgrade added in v1.6.0

func Version8Upgrade(repoPath string) (err error)

Version8Upgrade

func Version9Upgrade added in v1.8.0

func Version9Upgrade(repoPath string) (err error)

Version9Upgrade

Types

type UpgradeFunc

type UpgradeFunc func(string) error

Jump to

Keyboard shortcuts

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