golang format tools (#1017)

Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
This commit is contained in:
mattmoor-sockpuppet 2019-04-02 10:20:55 -07:00 committed by Knative Prow Robot
parent 0e6989399c
commit cbe1d3c840
5 changed files with 8 additions and 3 deletions

View File

@ -20,11 +20,12 @@ package main
import (
"context"
"flag"
"log"
"github.com/cloudevents/sdk-go/pkg/cloudevents"
"github.com/cloudevents/sdk-go/pkg/cloudevents/client"
"github.com/cloudevents/sdk-go/pkg/cloudevents/types"
"github.com/google/uuid"
"log"
)
var id = uuid.New().String()

View File

@ -22,10 +22,11 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/knative/eventing/pkg/utils"
"log"
"os"
"github.com/knative/eventing/pkg/utils"
"github.com/cloudevents/sdk-go/pkg/cloudevents"
"github.com/cloudevents/sdk-go/pkg/cloudevents/client"
"github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http"

View File

@ -18,6 +18,7 @@ package resources
import (
"fmt"
"github.com/knative/eventing/pkg/reconciler/names"
"github.com/knative/eventing/pkg/utils"

View File

@ -18,6 +18,7 @@ package trigger
import (
"context"
"github.com/knative/eventing/pkg/reconciler/v1alpha1/trigger/resources"
"github.com/knative/eventing/pkg/apis/eventing/v1alpha1"

View File

@ -20,9 +20,10 @@ import (
"context"
"errors"
"fmt"
"github.com/knative/eventing/pkg/reconciler/v1alpha1/trigger/resources"
"testing"
"github.com/knative/eventing/pkg/reconciler/v1alpha1/trigger/resources"
"github.com/knative/eventing/pkg/apis/eventing/v1alpha1"
"github.com/knative/eventing/pkg/reconciler/names"
controllertesting "github.com/knative/eventing/pkg/reconciler/testing"