Skip to content

Commit 0847925

Browse files
committed
style: gofmt -s -w
1 parent 83127d5 commit 0847925

4 files changed

Lines changed: 6 additions & 185 deletions

File tree

F1-json-flag.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

F7-pagination.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

cmd/agent_context.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ func init() {
6161

6262
// agentContextDoc is the top-level JSON shape emitted by `vers agent-context`.
6363
type agentContextDoc struct {
64-
SchemaVersion string `json:"schema_version"`
65-
CLI agentContextCLI `json:"cli"`
64+
SchemaVersion string `json:"schema_version"`
65+
CLI agentContextCLI `json:"cli"`
6666
Commands map[string]*agentContextCommand `json:"commands"`
67-
AvailableProfiles []string `json:"available_profiles"`
68-
Feedback agentContextFeedback `json:"feedback"`
67+
AvailableProfiles []string `json:"available_profiles"`
68+
Feedback agentContextFeedback `json:"feedback"`
6969
}
7070

7171
type agentContextCLI struct {
@@ -100,8 +100,8 @@ type agentContextFlag struct {
100100
}
101101

102102
type agentContextFeedback struct {
103-
LocalPath string `json:"local_path"`
104-
EndpointConfigured bool `json:"endpoint_configured"`
103+
LocalPath string `json:"local_path"`
104+
EndpointConfigured bool `json:"endpoint_configured"`
105105
}
106106

107107
func buildAgentContext(root *cobra.Command) *agentContextDoc {

internal/feedback/store_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,3 @@ func TestPostUpstreamTransportError(t *testing.T) {
167167
t.Errorf("expected status 0 on transport error, got %d", status)
168168
}
169169
}
170-

0 commit comments

Comments
 (0)