all: Run go fmt across all files

This commit is contained in:
Derek Parker
2015-10-04 10:58:32 -07:00
parent 8c01bcc34d
commit c6b5609f77
3 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -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.

View File

@ -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
} }