Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-02 13:30:51 +00:00
parent 2dbc66ebd7
commit 93b1c73b18
15 changed files with 151 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/micro/services/clients/go/notes"
)
// Specify the note to events
// Subscribe to notes events
func SubscribeToEvents() {
notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := notesService.Events(&notes.EventsRequest{