Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "github.com/liviosoares/go-watson-sdk/watson"
- "github.com/liviosoares/go-watson-sdk/watson/text_to_speech"
- )
- func main() {
- // explicitly supply credential information
- config := watson.Config {
- Credentials: watson.Credentials{
- Username: "7c04e647-ece0-400c-8a9b-bb97a8e000e2",
- Password: "3tRmmVZPKVAz",
- },
- }
- client, err := text_to_speech.NewClient(config)
- if err != nil {
- return nil
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement