mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 08:52:42 +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:
@@ -74,9 +74,9 @@ func (g *HoldemGame) firstToActPostflop() int {
|
||||
// ActionResult describes what happened after an action.
|
||||
type ActionResult struct {
|
||||
Announcement string
|
||||
HandOver bool // only 1 player remains
|
||||
StreetOver bool // street betting is complete
|
||||
AllAllIn bool // all remaining players are all-in
|
||||
HandOver bool // only 1 player remains
|
||||
StreetOver bool // street betting is complete
|
||||
AllAllIn bool // all remaining players are all-in
|
||||
}
|
||||
|
||||
// doFold processes a fold action.
|
||||
@@ -381,4 +381,3 @@ func (g *HoldemGame) returnUncalledBet() (name string, amount int64) {
|
||||
|
||||
return "", 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user