github.com/whiteCcinn/protobuf-go@v1.0.9/cmd/protoc-gen-go/testdata/extensions/base/base.proto (about)

     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  
     5  syntax = "proto2";
     6  
     7  package goproto.protoc.extension.base;
     8  
     9  option go_package = "github.com/whiteCcinn/protobuf-go/cmd/protoc-gen-go/testdata/extensions/base";
    10  
    11  message BaseMessage {
    12    optional string field = 1;
    13    extensions 4 to 9;
    14    extensions 16 to max;
    15  }
    16  
    17  message MessageSetWireFormatMessage {
    18    option message_set_wire_format = true;
    19    extensions 100 to max;
    20  }