Skip to content

Commit 1480c0d

Browse files
committed
chore(resource): gofmt alignment pass
1 parent 240fee6 commit 1480c0d

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

internal/resource/resource.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ import (
2323

2424
// Resource is a discovered resource returned by a Resolver.
2525
type Resource struct {
26-
ID string `json:"id"` // Full @ reference (e.g. "@src/main.go")
27-
Type string `json:"type"` // "file", "session", "skill"
28-
Label string `json:"label"` // Display label (e.g. "src/main.go")
29-
Detail string `json:"detail"` // One-line description (e.g. "Go source, 142 lines")
30-
Content string `json:"-"` // Full content (not sent in search results)
26+
ID string `json:"id"` // Full @ reference (e.g. "@src/main.go")
27+
Type string `json:"type"` // "file", "session", "skill"
28+
Label string `json:"label"` // Display label (e.g. "src/main.go")
29+
Detail string `json:"detail"` // One-line description (e.g. "Go source, 142 lines")
30+
Content string `json:"-"` // Full content (not sent in search results)
3131
}
3232

3333
// A Resolver discovers and loads resources by type.

internal/resource/resource_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,11 @@ type fakeFileInfo struct {
553553
}
554554

555555
func (f fakeFileInfo) Name() string { return "fake" }
556-
func (f fakeFileInfo) Size() int64 { return f.size }
557-
func (f fakeFileInfo) Mode() os.FileMode { return 0644 }
558-
func (f fakeFileInfo) ModTime() time.Time { return time.Now() }
559-
func (f fakeFileInfo) IsDir() bool { return false }
560-
func (f fakeFileInfo) Sys() interface{} { return nil }
556+
func (f fakeFileInfo) Size() int64 { return f.size }
557+
func (f fakeFileInfo) Mode() os.FileMode { return 0644 }
558+
func (f fakeFileInfo) ModTime() time.Time { return time.Now() }
559+
func (f fakeFileInfo) IsDir() bool { return false }
560+
func (f fakeFileInfo) Sys() interface{} { return nil }
561561

562562
// ── formatDuration Tests ───────────────────────────────────────────────
563563

0 commit comments

Comments
 (0)