Versions in this module Expand all Collapse all v0 v0.1.1 Dec 10, 2023 v0.1.0 Nov 7, 2023 Changes in this version + const AppConfig + const CMTConfig + const ClientConfig + var Migrations = MigrationMap + func CheckValid(fileName string, data []byte) error + func LoadConfig(path string) (*tomledit.Document, error) + func LoadLocalConfig(name string) (*tomledit.Document, error) + func NoPlan(_ *tomledit.Document, to string) transform.Plan + func PlanBuilder(from *tomledit.Document, to string) transform.Plan + func PrintDiff(w io.Writer, diffs []Diff) + func Upgrade(ctx context.Context, plan transform.Plan, configPath, outputPath string, ...) error + func WithLogWriter(ctx context.Context, w io.Writer) context.Context + type Diff struct + Deleted bool + KV KV + Type DiffType + func DiffKeys(lhs, rhs *tomledit.Document) []Diff + func DiffValues(lhs, rhs *tomledit.Document) []Diff + type DiffType string + const Mapping + const Section + type KV struct + Block []string + Key string + Value string + type MigrationMap map[string]func(from *tomledit.Document, to string) transform.Plan