mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-15 08:32:41 +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:
@@ -24,8 +24,8 @@ func BenchmarkComputeSignalFromRates_CrossPairSize(b *testing.B) {
|
||||
baseRates := make([]float64, 260)
|
||||
quoteRates := make([]float64, 260)
|
||||
for i := range baseRates {
|
||||
baseRates[i] = 0.90 + rand.Float64()*0.10 // EUR/USD ~0.90-1.00
|
||||
quoteRates[i] = 145 + rand.Float64()*10 // JPY/USD ~145-155
|
||||
baseRates[i] = 0.90 + rand.Float64()*0.10 // EUR/USD ~0.90-1.00
|
||||
quoteRates[i] = 145 + rand.Float64()*10 // JPY/USD ~145-155
|
||||
}
|
||||
|
||||
// Compute cross-rates (simulating the join)
|
||||
|
||||
Reference in New Issue
Block a user