...

Source file src/google.golang.org/protobuf/internal/weakdeps/doc.go

Documentation: google.golang.org/protobuf/internal/weakdeps

     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.
    12  package weakdeps
    13  

View as plain text