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