github.com/whiteCcinn/protobuf-go@v1.0.9/cmd/protoc-gen-go/testdata/import_public/c.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.import_public;
     8  
     9  option go_package = "github.com/whiteCcinn/protobuf-go/cmd/protoc-gen-go/testdata/import_public";
    10  
    11  import "cmd/protoc-gen-go/testdata/import_public/a.proto";
    12  
    13  message UsingPublicImport {
    14    // Local is declared in b.proto, which is a public import of a.proto.
    15    optional Local local = 1;
    16    // Sub2Message is declared in sub2/a.proto, which is a public import of
    17    // sub/a.proto, which is a public import of a.proto.
    18    optional sub2.Sub2Message sub2 = 2; // declared in sub2/a.proto
    19  }