...

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

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

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

View as plain text