oficina / equipo Public

gofmt the connections files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev a480eafafb30d4a30f69fedbe379c1004e740d02 parent d74e500
5 files changed, +11 −11
  • internal/equipo/chat/models.go +2 −2
  • internal/equipo/chat_connections.go +3 −3
  • internal/equipo/chat_page.go +2 −2
  • internal/runner/thin/link.go +1 −1
  • internal/thintest/client.go +3 −3
diff --git a/internal/equipo/chat/models.go b/internal/equipo/chat/models.go
index 8b9632fb..3439f205 100644
--- a/internal/equipo/chat/models.go
+++ b/internal/equipo/chat/models.go
@@ -23,8 +23,8 @@ type turnRecord struct {
ReplyID string
// Kind is wire.TurnPerson, TurnMoveIn or TurnExplore; Yield marks a
// move-in or explore turn asked to give way to the person.
- Kind string
- Yield bool
+ Kind string
+ Yield bool
// Connection is the runner's connection that answered (its LocalID).
Connection string
Revision int64
diff --git a/internal/equipo/chat_connections.go b/internal/equipo/chat_connections.go
index 4ba07dc1..29b717fc 100644
--- a/internal/equipo/chat_connections.go
+++ b/internal/equipo/chat_connections.go
@@ -21,9 +21,9 @@ import (
type modelLine struct {
ID, Name, Label, State string
- Connecting bool
- Prompt *wire.ConnectPrompt
- Note string
+ Connecting bool
+ Prompt *wire.ConnectPrompt
+ Note string
}
type modelsView struct {
diff --git a/internal/equipo/chat_page.go b/internal/equipo/chat_page.go
index 151b8089..8a8960d2 100644
--- a/internal/equipo/chat_page.go
+++ b/internal/equipo/chat_page.go
@@ -29,8 +29,8 @@ type chatView struct {
// NoConnection is the card for a turn held because nothing the person
// connected can answer; the message waits and goes on its own.
NoConnection *noConnectionCard
- Offline bool
- Cursor int64
+ Offline bool
+ Cursor int64
}
type noConnectionCard struct{ TurnID, Line string }
diff --git a/internal/runner/thin/link.go b/internal/runner/thin/link.go
index df055cb2..c0e64f4e 100644
--- a/internal/runner/thin/link.go
+++ b/internal/runner/thin/link.go
@@ -42,7 +42,7 @@ type Link struct {
Hello func() wire.Hello
// Connector adds connections the person starts from the app.
Connector *Connector
- Logger *slog.Logger
+ Logger *slog.Logger
// Connected is called with true once a generation is granted and false
// when the socket ends. Tests use it to wait.
Connected func(bool)
diff --git a/internal/thintest/client.go b/internal/thintest/client.go
index 05fe934e..5bb3797b 100644
--- a/internal/thintest/client.go
+++ b/internal/thintest/client.go
@@ -260,9 +260,9 @@ type Conversation struct {
Drafts map[string]string
// Connections are the person's connections, by id.
Connections map[string]wire.Connection
- Runner wire.Runner
- Cards map[string]wire.Card
- Projects map[string]wire.Project
+ Runner wire.Runner
+ Cards map[string]wire.Card
+ Projects map[string]wire.Project
// Tasks are the team's tasks; Steps every step seen, by id.
Tasks map[string]wire.Task
Steps map[string]wire.Step