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:
prosolis
2026-07-10 07:18:07 -07:00
parent 08d3053368
commit 3369d7d8fe
108 changed files with 1248 additions and 1260 deletions

View File

@@ -295,7 +295,7 @@ func buildSpellList() []SpellDefinition {
{ID: "spirit_guardians", Name: "Spirit Guardians", Level: 3, School: "conjuration",
Classes: cleric, Effect: EffectDamageSave, CastTime: CastAction,
Concentration: true, SaveStat: "WIS", DamageDice: "3d8",
DamageType: "radiant", AOE: true,
DamageType: "radiant", AOE: true,
Description: "Ghostly guardians swarm around you, slashing at anything hostile that comes close.",
Upcast: "more guardians per slot above 3rd"},
{ID: "revivify", Name: "Revivify", Level: 3, School: "necromancy",
@@ -349,7 +349,7 @@ func buildSpellList() []SpellDefinition {
{ID: "wall_of_fire", Name: "Wall of Fire", Level: 4, School: "evocation",
Classes: mage, Effect: EffectDamageSave, CastTime: CastAction,
Concentration: true, SaveStat: "DEX", DamageDice: "5d8",
DamageType: "fire", AOE: true,
DamageType: "fire", AOE: true,
Description: "A long curtain of flame roars up from the ground. Anyone trying to cross regrets it loudly."},
{ID: "greater_invisibility", Name: "Greater Invisibility", Level: 4, School: "illusion",
Classes: mage, Effect: EffectBuffSelf, CastTime: CastAction,
@@ -422,7 +422,7 @@ func buildSpellList() []SpellDefinition {
Description: "Call up a small spirit-companion in animal shape — cat, raven, frog, the usual. It scouts, fetches, and judges you silently."},
{ID: "clairvoyance", Name: "Clairvoyance", Level: 3, School: "divination",
Classes: []DnDClass{ClassMage, ClassCleric, ClassBard, ClassSorcerer, ClassWarlock},
Effect: EffectBuffSelf, CastTime: CastAction, Concentration: true, MaterialCost: 100,
Effect: EffectBuffSelf, CastTime: CastAction, Concentration: true, MaterialCost: 100,
Description: "Plant an invisible eye-or-ear in a place you know or can describe, and watch the world through it from afar."},
{ID: "glyph_of_warding", Name: "Glyph of Warding", Level: 3, School: "abjuration",
Classes: []DnDClass{ClassMage, ClassCleric, ClassBard}, Effect: EffectDamageSave, CastTime: CastAction,