Discover Packages
github.com/skozlov404/cells
common
config
migrations
package
Version:
v2.2.2+incompatible
Opens a new window with list of versions in this module.
Published: Feb 18, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 13
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.