Simple piece of code that shows how to:
- do an article look up in a specific project.
- get all the available projects.
-
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:
go run example/ondemand/main.go