mirror of
https://github.com/go-delve/delve.git
synced 2025-10-31 02:36:18 +08:00
all: Run go fmt across all files
This commit is contained in:
@ -646,9 +646,9 @@ func TestClientServer_SetVariable(t *testing.T) {
|
|||||||
t.Fatalf("Continue(): %v\n", state.Err)
|
t.Fatalf("Continue(): %v\n", state.Err)
|
||||||
}
|
}
|
||||||
|
|
||||||
assertNoError(c.SetVariable(api.EvalScope{ -1, 0 }, "a2", "8"), t, "SetVariable()")
|
assertNoError(c.SetVariable(api.EvalScope{-1, 0}, "a2", "8"), t, "SetVariable()")
|
||||||
|
|
||||||
a2, err := c.EvalVariable(api.EvalScope{ -1, 0 }, "a2")
|
a2, err := c.EvalVariable(api.EvalScope{-1, 0}, "a2")
|
||||||
|
|
||||||
t.Logf("a2: <%s>", a2.Value)
|
t.Logf("a2: <%s>", a2.Value)
|
||||||
|
|
||||||
|
|||||||
@ -41,9 +41,9 @@ func (c command) match(cmdstr string) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Commands struct {
|
type Commands struct {
|
||||||
cmds []command
|
cmds []command
|
||||||
lastCmd cmdfunc
|
lastCmd cmdfunc
|
||||||
client service.Client
|
client service.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns a Commands struct with default commands defined.
|
// Returns a Commands struct with default commands defined.
|
||||||
|
|||||||
@ -21,11 +21,11 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Term struct {
|
type Term struct {
|
||||||
client service.Client
|
client service.Client
|
||||||
prompt string
|
prompt string
|
||||||
line *liner.State
|
line *liner.State
|
||||||
conf *config.Config
|
conf *config.Config
|
||||||
dumb bool
|
dumb bool
|
||||||
InitFile string
|
InitFile string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user