mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +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)
|
||||
}
|
||||
|
||||
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)
|
||||
|
||||
|
||||
@ -41,9 +41,9 @@ func (c command) match(cmdstr string) bool {
|
||||
}
|
||||
|
||||
type Commands struct {
|
||||
cmds []command
|
||||
lastCmd cmdfunc
|
||||
client service.Client
|
||||
cmds []command
|
||||
lastCmd cmdfunc
|
||||
client service.Client
|
||||
}
|
||||
|
||||
// Returns a Commands struct with default commands defined.
|
||||
|
||||
@ -21,11 +21,11 @@ const (
|
||||
)
|
||||
|
||||
type Term struct {
|
||||
client service.Client
|
||||
prompt string
|
||||
line *liner.State
|
||||
conf *config.Config
|
||||
dumb bool
|
||||
client service.Client
|
||||
prompt string
|
||||
line *liner.State
|
||||
conf *config.Config
|
||||
dumb bool
|
||||
InitFile string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user