2018-10-04 19:42:37 +00:00
|
|
|
// Copyright 2018 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
syntax = "proto2";
|
|
|
|
|
|
|
|
package goproto.protoc.annotations;
|
|
|
|
|
2023-04-27 15:39:18 +00:00
|
|
|
import weak "cmd/protoc-gen-go/testdata/imports/fmt/m.proto";
|
|
|
|
|
2019-05-14 06:55:40 +00:00
|
|
|
option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/annotations";
|
2018-10-04 19:42:37 +00:00
|
|
|
|
|
|
|
message AnnotationsTestMessage {
|
|
|
|
optional string AnnotationsTestField = 1;
|
2023-04-27 15:39:18 +00:00
|
|
|
|
|
|
|
optional fmt.M m = 2 [weak = true];
|
2018-10-04 19:42:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AnnotationsTestEnum {
|
|
|
|
ANNOTATIONS_TEST_ENUM_VALUE = 0;
|
|
|
|
}
|