From 22ce7074a0cedf5ab7b7b0adc09f24b239eee829 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 8 Dec 2021 11:22:56 +0000 Subject: [PATCH] add joke comments --- joke/README.md | 5 +---- joke/proto/joke.proto | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/joke/README.md b/joke/README.md index fef8838..d4f8700 100644 --- a/joke/README.md +++ b/joke/README.md @@ -2,7 +2,4 @@ Funny Jokes # Joke Service -This is the Joke service - -Leveraged by https://github.com/taivop/joke-dataset - +A simple set random funny jokes to tell friends and family diff --git a/joke/proto/joke.proto b/joke/proto/joke.proto index 2e41558..cada761 100644 --- a/joke/proto/joke.proto +++ b/joke/proto/joke.proto @@ -5,10 +5,10 @@ package joke; option go_package = "./proto;joke"; service Joke { - // get n random jokes rpc Random(RandomRequest) returns (RandomResponse) {} } +// Get a random joke message RandomRequest { // the count of random jokes want, maximum: 10 int32 count = 1; @@ -19,7 +19,6 @@ message JokeInfo { string title = 2; string body = 3; string category = 4; - // the source of joke string source = 5; }