engine, lang, lib: Re-order for consistency

Some small cleanups to make room for future patches.
This commit is contained in:
James Shubin
2023-12-01 14:44:00 -05:00
parent 984fb702e5
commit 7991b4ab25
5 changed files with 14 additions and 12 deletions

View File

@@ -45,15 +45,15 @@ type Engine struct {
Program string
Version string
Hostname string
World engine.World
Converger *converger.Coordinator
World engine.World
// Prefix is a unique directory prefix which can be used. It should be
// created if needed.
Prefix string
Converger *converger.Coordinator
Debug bool
Logf func(format string, v ...interface{})
Prefix string
Debug bool
Logf func(format string, v ...interface{})
graph *pgraph.Graph
nextGraph *pgraph.Graph
@@ -223,9 +223,9 @@ func (obj *Engine) Commit() error {
Version: obj.Version,
Hostname: obj.Hostname,
//Converger: obj.Converger,
World: obj.World,
Prefix: statePrefix,
//Converger: obj.Converger,
Debug: obj.Debug,
Logf: func(format string, v ...interface{}) {