mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Added megacheck
This tool combines staticcheck, gosimple and unused. Fixed reports from unused.
This commit is contained in:
@@ -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{})
|
||||
|
||||
Reference in New Issue
Block a user