Created
December 16, 2018 12:43
-
-
Save amsokol/ff540c4548b8e8bd1721641e0718e50d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package main; | |
import "google/protobuf/timestamp.proto"; | |
import "google/protobuf/wrappers.proto"; | |
import "protoc-gen-gotag/tagger/tagger.proto"; | |
message Data { | |
bool boolValue = 1; | |
int64 int64Value = 2; | |
double doubleValue = 3; | |
string stringValue = 4; | |
google.protobuf.Timestamp timestampValue = 5 [(tagger.tags) = "bson:\"date\"" ]; | |
google.protobuf.BoolValue boolWrappedValue = 6; | |
google.protobuf.Int64Value int64WrappedValue = 7; | |
google.protobuf.DoubleValue doubleWrappedValue = 8; | |
google.protobuf.StringValue stringWrappedValue = 9; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment