mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-03-13 07:14:50 +00:00
Add back the weak dependency on github.com/golang/protobuf. Change-Id: I2e6fabbe2cac3b694fb56a86bb3aa85cc8615b42 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/262684 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Damien Neil <dneil@google.com>
15 lines
443 B
Go
15 lines
443 B
Go
// Copyright 2020 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build weak_dependency
|
|
|
|
package weakdeps
|
|
|
|
import (
|
|
// Ensure that any program using "github.com/golang/protobuf"
|
|
// uses a version that wraps this module so that there is a
|
|
// unified view on what protobuf types are globally registered.
|
|
_ "github.com/golang/protobuf/proto"
|
|
)
|