mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
18 lines
384 B
Go
Executable File
18 lines
384 B
Go
Executable File
package example
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/helloworld"
|
|
)
|
|
|
|
// Stream returns a stream of "Hello $name" responses
|
|
func StreamsAreCurrentlyTemporarilyNotSupportedInClients() {
|
|
helloworldService := helloworld.NewHelloworldService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := helloworldService.Stream(&helloworld.StreamRequest{
|
|
Name: "not supported",
|
|
})
|
|
fmt.Println(rsp, err)
|
|
}
|