...

Source file src/google.golang.org/protobuf/internal/weakdeps/weakdeps.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  //go:build weak_dependency
     6  // +build weak_dependency
     7  
     8  package weakdeps
     9  
    10  import (
    11  	// Ensure that any program using "github.com/golang/protobuf"
    12  	// uses a version that wraps this module so that there is a
    13  	// unified view on what protobuf types are globally registered.
    14  	_ "github.com/golang/protobuf/proto"
    15  )
    16  

View as plain text