github.com/whiteCcinn/protobuf-go@v1.0.9/cmd/protoc-gen-go/testdata/comments/deprecated.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 = "proto3";
     6  
     7  package goproto.protoc.comments;
     8  
     9  option deprecated = true;
    10  option go_package = "github.com/whiteCcinn/protobuf-go/cmd/protoc-gen-go/testdata/comments";
    11  
    12  message DeprecatedMessage {
    13    option deprecated = true;
    14    string deprecated_field = 1 [deprecated=true];
    15  }
    16  
    17  enum DeprecatedEnum {
    18    option deprecated = true;
    19    DEPRECATED = 0 [deprecated=true];
    20  }