mirror of https://github.com/knative/eventing.git
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:
parent
0e6989399c
commit
cbe1d3c840
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ package resources
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/knative/eventing/pkg/reconciler/names"
|
||||
"github.com/knative/eventing/pkg/utils"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue