Added megacheck

This tool combines staticcheck, gosimple and unused.
Fixed reports from unused.
This commit is contained in:
Ivan Kozlovic
2017-08-11 17:28:18 -06:00
parent 396d9f9d76
commit 20926a6176
6 changed files with 5 additions and 30 deletions

View File

@@ -9,7 +9,6 @@ import (
"fmt"
"io"
"net"
"os/exec"
"regexp"
"runtime"
"strings"
@@ -18,13 +17,6 @@ import (
"github.com/nats-io/gnatsd/server"
)
const natsServerExe = "../gnatsd"
type natsServer struct {
args []string
cmd *exec.Cmd
}
// So we can pass tests and benchmarks..
type tLogger interface {
Fatalf(format string, args ...interface{})