module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Aug 15, 2020
License: MIT
Opens a new window with license information.
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
¶
Click to show internal directories.
Click to hide internal directories.