github.com/whiteCcinn/protobuf-go@v1.0.9/cmd/protoc-gen-go/testdata/import_public/a.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 public "cmd/protoc-gen-go/testdata/import_public/sub/a.proto";  // Different Go package.
    12  import public "cmd/protoc-gen-go/testdata/import_public/b.proto";      // Same Go package.
    13  
    14  message Public {
    15    optional goproto.protoc.import_public.sub.M m = 1;
    16    optional goproto.protoc.import_public.sub.E e = 2;
    17    optional Local local = 3;
    18  }