xref: /aosp_15_r20/external/golang-protobuf/internal/weakdeps/doc.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
1// Copyright 2020 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Package weakdeps exists to add weak module dependencies.
6//
7// We want to ensure that this module is used with a minimum
8// version of certain other modules, without actually importing
9// those modules in normal builds. We do that by adding an
10// import of a package in the module under a build constraint
11// that is never satisfied in normal usage.
12package weakdeps
13