go fmt fixes

This commit is contained in:
Cameron Sparr 2015-08-04 16:09:59 -06:00
parent 0911b5b2e8
commit 611ad26d1b
6 changed files with 36 additions and 37 deletions

View File

@ -21,6 +21,7 @@ var fPidfile = flag.String("pidfile", "", "file to write our pid to")
// Telegraf version
var Version = "unreleased"
// Telegraf commit
var Commit = ""

View File

@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/require"
)
const sampleTextFormat = `# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0.00010425500000000001

View File

@ -3,9 +3,9 @@
package common
import (
"syscall"
"os/exec"
"strings"
"syscall"
"unsafe"
)
@ -58,4 +58,3 @@ func CallSyscall(mib []int32) ([]byte, uint64, error) {
return buf, length, nil
}