Skip to content

Commit

Permalink
all: gofmt all
Browse files Browse the repository at this point in the history
Change-Id: I1d42c8d784440a0b7e40b4f0b8da54be0fb338a6
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/370054
Trust: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Florian Zenker <floriank@google.com>
  • Loading branch information
neild committed Jan 4, 2022
1 parent 26e8bcb commit 3a9e1dc
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ignore
// +build ignore

package main
Expand Down
1 change: 1 addition & 0 deletions internal/errors/is_go112.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !go1.13
// +build !go1.13

package errors
Expand Down
1 change: 1 addition & 0 deletions internal/errors/is_go113.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 go1.13
// +build go1.13

package errors
Expand Down
1 change: 1 addition & 0 deletions internal/flags/proto_legacy_disable.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !protolegacy
// +build !protolegacy

package flags
Expand Down
1 change: 1 addition & 0 deletions internal/flags/proto_legacy_enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 protolegacy
// +build protolegacy

package flags
Expand Down
1 change: 1 addition & 0 deletions internal/impl/codec_map_go111.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !go1.12
// +build !go1.12

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/impl/codec_map_go112.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 go1.12
// +build go1.12

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/impl/codec_reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 purego || appengine
// +build purego appengine

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/impl/codec_unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !purego && !appengine
// +build !purego,!appengine

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/impl/pointer_reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 purego || appengine
// +build purego appengine

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/impl/pointer_unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !purego && !appengine
// +build !purego,!appengine

package impl
Expand Down
1 change: 1 addition & 0 deletions internal/strs/strings_pure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 purego || appengine
// +build purego appengine

package strs
Expand Down
1 change: 1 addition & 0 deletions internal/strs/strings_unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !purego && !appengine
// +build !purego,!appengine

package strs
Expand Down
1 change: 1 addition & 0 deletions internal/testprotos/nullable/methods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// only test compatibility with the Marshal/Unmarshal functionality with
// pure protobuf reflection since there is no support for nullable fields
// in the table-driven implementation.
//go:build protoreflect
// +build protoreflect

package nullable
Expand Down
1 change: 1 addition & 0 deletions internal/weakdeps/weakdeps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 weak_dependency
// +build weak_dependency

package weakdeps
Expand Down
1 change: 1 addition & 0 deletions proto/methods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// The protoreflect tag disables fast-path methods, including legacy ones.
//go:build !protoreflect
// +build !protoreflect

package proto_test
Expand Down
1 change: 1 addition & 0 deletions proto/proto_methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// The protoreflect build tag disables use of fast-path methods.
//go:build !protoreflect
// +build !protoreflect

package proto
Expand Down
1 change: 1 addition & 0 deletions proto/proto_reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// The protoreflect build tag disables use of fast-path methods.
//go:build protoreflect
// +build protoreflect

package proto
Expand Down
1 change: 1 addition & 0 deletions reflect/protoreflect/value_pure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 purego || appengine
// +build purego appengine

package protoreflect
Expand Down
1 change: 1 addition & 0 deletions reflect/protoreflect/value_unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 !purego && !appengine
// +build !purego,!appengine

package protoreflect
Expand Down

0 comments on commit 3a9e1dc

Please sign in to comment.