...

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

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

     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.annotations;
     8
     9import weak "cmd/protoc-gen-go/testdata/imports/fmt/m.proto";
    10
    11option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/annotations";
    12
    13message AnnotationsTestMessage {
    14  optional string AnnotationsTestField = 1;
    15
    16  optional fmt.M m = 2 [weak = true];
    17}
    18
    19enum AnnotationsTestEnum {
    20  ANNOTATIONS_TEST_ENUM_VALUE = 0;
    21}

View as plain text