golang format tools (#669)

Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
/assign mattmoor
This commit is contained in:
mattmoor-sockpuppet 2019-09-12 08:28:33 -07:00 committed by Knative Prow Robot
parent da722d04a7
commit 03caae6041
3 changed files with 5 additions and 4 deletions

View File

@ -18,9 +18,10 @@ package source
import ( import (
"context" "context"
"strconv"
"go.opencensus.io/stats/view" "go.opencensus.io/stats/view"
"knative.dev/pkg/metrics" "knative.dev/pkg/metrics"
"strconv"
"go.opencensus.io/stats" "go.opencensus.io/stats"
"go.opencensus.io/tag" "go.opencensus.io/tag"

View File

@ -34,8 +34,8 @@ func TestMain(m *testing.M) {
config: repoConfig{ config: repoConfig{
repo: "test_repo", repo: "test_repo",
channels: []channel{ channels: []channel{
channel{name: "test_channel1", identity: "fsfdsf"}, {name: "test_channel1", identity: "fsfdsf"},
channel{name: "test_channel2", identity: "fdsfhfdh"}, {name: "test_channel2", identity: "fdsfhfdh"},
}, },
}, },
dryrun: false, dryrun: false,

View File

@ -9,7 +9,7 @@ import (
"contrib.go.opencensus.io/exporter/stackdriver" "contrib.go.opencensus.io/exporter/stackdriver"
oczipkin "contrib.go.opencensus.io/exporter/zipkin" oczipkin "contrib.go.opencensus.io/exporter/zipkin"
"github.com/openzipkin/zipkin-go" zipkin "github.com/openzipkin/zipkin-go"
httpreporter "github.com/openzipkin/zipkin-go/reporter/http" httpreporter "github.com/openzipkin/zipkin-go/reporter/http"
"go.opencensus.io/trace" "go.opencensus.io/trace"
"go.uber.org/zap" "go.uber.org/zap"