...

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

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

     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.import_public;
     8
     9// Same Go package.
    10import public "cmd/protoc-gen-go/testdata/import_public/b.proto";
    11
    12// Different Go package.
    13import public "cmd/protoc-gen-go/testdata/import_public/sub/a.proto";
    14
    15option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/import_public";
    16
    17message Public {
    18  optional goproto.protoc.import_public.sub.M m = 1;
    19  optional goproto.protoc.import_public.sub.E e = 2;
    20  optional Local local = 3;
    21}

View as plain text