mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -73,9 +73,9 @@ type DungeonRun struct {
|
||||
// path of node_ids the player has resolved. NodeChoices stores
|
||||
// pending fork-prompt state (G5 surface) — populated when the player
|
||||
// arrives at a fork with 2+ unlocked outgoing edges.
|
||||
CurrentNode string
|
||||
VisitedNodes []string
|
||||
NodeChoices map[string]any
|
||||
CurrentNode string
|
||||
VisitedNodes []string
|
||||
NodeChoices map[string]any
|
||||
|
||||
// Revisit R1 — monotonic count of node entries, including the entry
|
||||
// room. Distinct from CurrentRoom: CurrentRoom answers "where am I on
|
||||
@@ -623,4 +623,3 @@ func addLoot(runID string, itemID string) error {
|
||||
WHERE run_id = ?`, string(lootJSON), runID)
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user