remove broken examples

This commit is contained in:
Asim Aslam
2021-11-18 08:32:04 +00:00
parent 3953482915
commit 3760aaf9dd
4 changed files with 0 additions and 73 deletions

View File

@@ -1,17 +0,0 @@
package example
import (
"fmt"
"os"
"go.m3o.com/stream"
)
// Subscribe to messages for a given topic.
func SubscribeToAtopic() {
streamService := stream.NewStreamService(os.Getenv("M3O_API_TOKEN"))
rsp, err := streamService.Subscribe(&stream.SubscribeRequest{
Topic: "events",
})
fmt.Println(rsp, err)
}