mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 19:25:16 +00:00
15 lines
274 B
Go
Executable File
15 lines
274 B
Go
Executable File
package example
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/micro/services/clients/go/rss"
|
|
"os"
|
|
)
|
|
|
|
// List the saved RSS fields
|
|
func ListRssFeeds() {
|
|
rssService := rss.NewRssService(os.Getenv("MICRO_API_TOKEN"))
|
|
rsp, err := rssService.List(&rss.ListRequest{})
|
|
fmt.Println(rsp, err)
|
|
}
|