From de814ceb66b1002ebd498abc4676188aaa4ff8ca Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Sun, 6 Jul 2014 17:15:34 +0200 Subject: [PATCH] go fmt --- main.go | 6 +++--- pgsql.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 79aaacc42b35..3e2047dbc02f 100644 --- a/main.go +++ b/main.go @@ -5,12 +5,12 @@ import ( "fmt" "io/ioutil" "log" + "os" "runtime" + "runtime/pprof" "strconv" "strings" "time" - "os" - "runtime/pprof" "github.com/BurntSushi/toml" "github.com/akrennmair/gopcap" @@ -189,7 +189,7 @@ func debugMemStats() { var m runtime.MemStats runtime.ReadMemStats(&m) DEBUG("mem", "Memory stats: In use: %d Total (even if freed): %d System: %d", - m.Alloc, m.TotalAlloc, m.Sys) + m.Alloc, m.TotalAlloc, m.Sys) } func main() { diff --git a/pgsql.go b/pgsql.go index 406654d41bc2..d0aaa8db9435 100644 --- a/pgsql.go +++ b/pgsql.go @@ -656,9 +656,9 @@ func receivedPgsqlRequest(msg *PgsqlMessage) { } trans.Pgsql = bson.M{ - "query": query, + "query": query, "query.raw": query, - "method": getQueryMethod(query), + "method": getQueryMethod(query), } trans.Request_raw = query