Discover Packages
github.com/ryansun96/cells
common
config
migrations
package
Version:
v2.3.3+incompatible
Opens a new window with list of versions in this module.
Published: Aug 9, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
UpdateKeys replace a key with a new one
UpdateVals replace a val with a new one
UpgradeConfigsIfRequired applies all registered configMigration functions
Returns true if there was a change and save is required, error if something nasty happened
type ReplacerFunc func(map[string ]interface{}) map[string ]interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.