...

Text file src/google.golang.org/protobuf/cmd/protoc-gen-go/testdata/extensions/base/base.proto

Documentation: google.golang.org/protobuf/cmd/protoc-gen-go/testdata/extensions/base

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

View as plain text