Skip to content

Commit ea7187c

Browse files
committed
style: gofumpt formatting
1 parent d2a9f4a commit ea7187c

8 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎cmd/compat-test/drift_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ require github.com/GrayCodeAI/other v1.9.0 // indirect
4040
t.Fatalf("readRequires: %v", err)
4141
}
4242
tests := map[string]string{
43-
"github.com/GrayCodeAI/flux": "v1.0.0",
43+
"github.com/GrayCodeAI/flux": "v1.0.0",
4444
"github.com/spf13/cobra": "v1.8.0",
4545
"github.com/GrayCodeAI/other": "v1.9.0",
4646
}

‎internal/config/ecosystem_report.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111

1212
// EcosystemReport is the structured view of the ecosystem panel.
1313
type EcosystemReport struct {
14-
Flux EcosystemFlux `json:"flux"`
15-
Token EngineToken `json:"token"`
14+
Flux EcosystemFlux `json:"flux"`
15+
Token EngineToken `json:"token"`
1616
}
1717

1818
type EcosystemFlux struct {

‎internal/engine/control/backtrack.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
// choice that can potentially be rolled back if it leads to failure.
1212
type DecisionPoint struct {
1313
TurnIndex int
14-
Description string // what was decided
15-
Alternatives []string // other options available
16-
Outcome string // "success", "failure", or "" (pending)
14+
Description string // what was decided
15+
Alternatives []string // other options available
16+
Outcome string // "success", "failure", or "" (pending)
1717
Messages []types.FluxMessage // conversation state at this point
1818
}
1919

‎internal/engine/tool_catalog_shrink.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func shrinkFluxTools(tools []types.FluxTool) []types.FluxTool {
4545
}
4646

4747
type wireTool struct {
48-
Type string `json:"type"`
48+
Type string `json:"type"`
4949
Function types.FluxTool `json:"function"`
5050
}
5151
wire := make([]wireTool, len(tools))

‎internal/provider/gateway/provider_stub_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (s *stubProvider) CredentialProviders(context.Context) []fluxengine.Credent
9595

9696
func (s *stubProvider) GatewayDefinitions() []fluxengine.Gateway { return nil }
9797

98-
func (s *stubProvider) Gateways(context.Context) []fluxengine.Gateway { return nil }
98+
func (s *stubProvider) Gateways(context.Context) []fluxengine.Gateway { return nil }
9999
func (s *stubProvider) GatewayRegion(string) (string, bool) { return "", false }
100100
func (s *stubProvider) SetGatewayRegion(context.Context, string, string) error { return nil }
101101
func (s *stubProvider) GatewayForModel(context.Context, string) string { return "" }

‎internal/storage/paths.go‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
)
1010

1111
const (
12-
appName = "rho"
13-
legacyAppName = "hawk"
14-
envConfigDir = "RHO_CONFIG_DIR"
12+
appName = "rho"
13+
legacyAppName = "hawk"
14+
envConfigDir = "RHO_CONFIG_DIR"
1515
envFluxConfigDir = "FLUX_CONFIG_DIR"
16-
envStateDir = "RHO_STATE_DIR"
17-
envCacheDir = "RHO_CACHE_DIR"
18-
projectIDHashLen = 12
16+
envStateDir = "RHO_STATE_DIR"
17+
envCacheDir = "RHO_CACHE_DIR"
18+
projectIDHashLen = 12
1919
)
2020

2121
// legacyEnvDir reads a legacy HAWK_* override (e.g. HAWK_STATE_DIR) so an

‎internal/testaudit/package_boundaries_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
rhoModule = "github.com/GrayCodeAI/rho"
16+
rhoModule = "github.com/GrayCodeAI/rho"
1717
fluxModule = "github.com/GrayCodeAI/flux"
1818
)
1919

‎internal/testutil/storage.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ func InstallHermeticStorage() (func(), error) {
3737
return nil, err
3838
}
3939
for key, suffix := range map[string]string{
40-
"RHO_CONFIG_DIR": "config",
41-
"RHO_STATE_DIR": "state",
42-
"RHO_CACHE_DIR": "cache",
40+
"RHO_CONFIG_DIR": "config",
41+
"RHO_STATE_DIR": "state",
42+
"RHO_CACHE_DIR": "cache",
4343
"FLUX_CONFIG_DIR": "flux-config",
4444
} {
4545
if _, ok := os.LookupEnv(key); !ok {

0 commit comments

Comments
 (0)