Created
February 14, 2021 07:54
-
-
Save efairon/62ac91c9cf730ae1d54f5740eb57b225 to your computer and use it in GitHub Desktop.
This file contains 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
// Social Network addresses of a person | |
message SocialNetwork { | |
// facebook account name | |
string Facebook = 1 [json_name = "facebook", (gogoproto.jsontag) = "facebook", (gogoproto.moretags) = "bson:\"facebook,omitempty\""]; | |
// Twitter account name | |
string Twitter = 2 [json_name = "twitter", (gogoproto.jsontag) = "twitter", (gogoproto.moretags) = "bson:\"twitter,omitempty\""]; | |
// LinkedIn account name | |
string Linkedin = 3 [json_name = "linkedin", (gogoproto.jsontag) = "linkedin", (gogoproto.moretags) = "bson:\"linkedin,omitempty\""]; | |
// Instagram account name | |
string Instagram = 4 [json_name = "instagram", (gogoproto.jsontag) = "instagram", (gogoproto.moretags) = "bson:\"instagram,omitempty\""]; | |
// Snapshat account name | |
string Snapshat = 5 [json_name = "snapshat", (gogoproto.jsontag) = "snapshat", (gogoproto.moretags) = "bson:\"snapshat,omitempty\""]; | |
// Telegram account | |
string Telegram = 6 [json_name = "telegram", (gogoproto.jsontag) = "telegram", (gogoproto.moretags) = "bson:\"telegram,omitempty\""]; | |
// Skype address name | |
string Skype = 7 [json_name = "skype", (gogoproto.jsontag) = "skype", (gogoproto.moretags) = "bson:\"skype,omitempty\""]; | |
// Whats'app name | |
string Whatsapp = 8 [json_name = "whatsapp", (gogoproto.jsontag) = "whatsapp", (gogoproto.moretags) = "bson:\"whatsapp,omitempty\""]; | |
// Pinterest id | |
string Pinterest = 9 [json_name = "pinterest", (gogoproto.jsontag) = "pinterest", (gogoproto.moretags) = "bson:\"pinterest,omitempty\""]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment