Remove single-entry var blocks (#1589)

This commit is contained in:
田欧
2017-10-18 11:59:23 -05:00
committed by dfawley
parent 16c41925b8
commit faebfcb7bf
13 changed files with 49 additions and 80 deletions

View File

@ -30,9 +30,7 @@ import (
"google.golang.org/grpc/grpclog"
)
var (
duration = flag.Int("duration", math.MaxInt32, "The duration in seconds to run the benchmark server")
)
var duration = flag.Int("duration", math.MaxInt32, "The duration in seconds to run the benchmark server")
func main() {
flag.Parse()

View File

@ -37,9 +37,7 @@ import (
"google.golang.org/grpc/testdata"
)
var (
caFile = flag.String("ca_file", "", "The file containing the CA root cert file")
)
var caFile = flag.String("ca_file", "", "The file containing the CA root cert file")
type lockingHistogram struct {
mu sync.Mutex