migration

package
v1.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0, MIT Imports: 7 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

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