watson

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2020 License: MIT

README

watson

watson utility packages

assistant

package assistant

import "testing"

func TestAssistant(t *testing.T) {
	bot := NewSession(&WAConfig{
		ApiKey:      "your key",
		ApiUrl:      "your url",
		AssistantId: "your assistant id",
		Version:     "2020-04-01",
	})
	defer bot.Close()
	msg := "your message"
	output := bot.Send(msg)
	t.Logf("%+v", output)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL