Examples for the SDK, that include On-demand, Realtime and Realtime Batch examples.
-
First just export environment variables:
export WME_USERNAME="superuser"; export WME_PASSWORD="secret";
-
Then you should be able to just run:
go run main.go
-
Note that if you are running this from the root use this command (in case you are calling
ondemand
example):go run example/api/ondemand/main.go