Format go code (#5223)

Signed-off-by: Knative Automation <automation@knative.team>

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2022-09-22 13:09:13 -04:00 committed by GitHub
parent a3fdf09cf9
commit 8409a16a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 17 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package client
import (
"context"
"github.com/cloudevents/sdk-go/v2/event"
"github.com/cloudevents/sdk-go/v2/extensions"
"github.com/cloudevents/sdk-go/v2/observability"

View File

@ -2,6 +2,7 @@ package client
import (
"context"
"github.com/cloudevents/sdk-go/v2/event"
"github.com/cloudevents/sdk-go/v2/extensions"
"github.com/cloudevents/sdk-go/v2/observability"

View File

@ -2,6 +2,7 @@ package client
import (
"fmt"
"github.com/cloudevents/sdk-go/v2/binding"
)

View File

@ -2,6 +2,7 @@ package json
import (
"context"
"github.com/cloudevents/sdk-go/v2/observability"
)

View File

@ -2,6 +2,7 @@ package text
import (
"context"
"github.com/cloudevents/sdk-go/v2/observability"
)

View File

@ -2,6 +2,7 @@ package xml
import (
"context"
"github.com/cloudevents/sdk-go/v2/observability"
)

View File

@ -3,11 +3,12 @@ package http
import (
"context"
"errors"
"go.uber.org/zap"
"net/http"
"net/url"
"time"
"go.uber.org/zap"
"github.com/cloudevents/sdk-go/v2/binding"
cecontext "github.com/cloudevents/sdk-go/v2/context"
"github.com/cloudevents/sdk-go/v2/protocol"

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build js
// +build js
package uuid

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !js
// +build !js
package uuid

View File

@ -1,3 +1,4 @@
//go:build go1.13
// +build go1.13
package errors

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build go1.9
// +build go1.9
package tag

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build !go1.9
// +build !go1.9
package tag

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build go1.11
// +build go1.11
package trace

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build !go1.11
// +build !go1.11
package trace

View File

@ -19,6 +19,7 @@
// THE SOFTWARE.
// See #682 for more information.
//go:build go1.12
// +build go1.12
package zap

View File

@ -19,6 +19,7 @@
// THE SOFTWARE.
// See #682 for more information.
//go:build !go1.12
// +build !go1.12
package zap