mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-08 09:38:16 +00:00
f9123a3cd0
The internal/impl and internal/legacy packages are only visible from packages within the v2 repository. However, selected parts of these packages need to be visible from the v1 repository or from generated code. Change-Id: I1d87227dacc38f5b1ac464e9b9dd43bd34559cda Reviewed-on: https://go-review.googlesource.com/c/151858 Reviewed-by: Herbie Ong <herbie@google.com>
19 lines
703 B
Go
19 lines
703 B
Go
// Copyright 2018 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.
|
|
|
|
// Package protoimpl contains the default implementation for messages
|
|
// generated by protoc-gen-go.
|
|
//
|
|
// WARNING: This package should only ever be imported by generated messages.
|
|
// The compatibility agreement covers nothing except for functionality needed
|
|
// to keep existing generated messages operational. Breakages that occur due
|
|
// to unauthorized usages of this package are not the author's responsibility.
|
|
package protoimpl
|
|
|
|
import "github.com/golang/protobuf/v2/internal/impl"
|
|
|
|
var X impl.Export
|
|
|
|
type MessageType = impl.MessageType
|