mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix news readme
This commit is contained in:
@@ -1,23 +1,5 @@
|
||||
Get the news
|
||||
|
||||
# News Service
|
||||
|
||||
This is the News service
|
||||
|
||||
Generated with
|
||||
|
||||
```
|
||||
micro new news
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Generate the proto code
|
||||
|
||||
```
|
||||
make proto
|
||||
```
|
||||
|
||||
Run the service
|
||||
|
||||
```
|
||||
micro run .
|
||||
```
|
||||
Get the latest news headlines from anywhere in the world
|
||||
|
||||
@@ -35,6 +35,7 @@ message Article {
|
||||
string locale = 12;
|
||||
}
|
||||
|
||||
// Get the latest news headlines
|
||||
message HeadlinesRequest {
|
||||
// comma separated list of languages to retrieve in e.g en,es
|
||||
string language = 1;
|
||||
|
||||
Reference in New Issue
Block a user