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:
@@ -355,9 +355,9 @@ type CFRData struct {
|
||||
|
||||
func packInfoSetKey(street Street, posIP bool, eqBucket, sprBkt, boardTex int, history string) InfoSetKey {
|
||||
var key uint64
|
||||
key |= uint64(street) & 0x7 // bits 0-2
|
||||
key |= uint64(street) & 0x7 // bits 0-2
|
||||
if posIP {
|
||||
key |= 1 << 3 // bit 3
|
||||
key |= 1 << 3 // bit 3
|
||||
}
|
||||
key |= (uint64(eqBucket) & 0xF) << 4 // bits 4-7 (4 bits for 12 buckets)
|
||||
key |= (uint64(sprBkt) & 0x7) << 8 // bits 8-10
|
||||
|
||||
Reference in New Issue
Block a user