legacy.go 321 B

123456789101112131415
  1. // Copyright 2018 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. package protoiface
  5. type MessageV1 interface {
  6. Reset()
  7. String() string
  8. ProtoMessage()
  9. }
  10. type ExtensionRangeV1 struct {
  11. Start, End int32 // both inclusive
  12. }