daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest May 7th, 2016 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package main
  2.  
  3. import (
  4.         "github.com/liviosoares/go-watson-sdk/watson"
  5.         "github.com/liviosoares/go-watson-sdk/watson/text_to_speech"
  6. )
  7.  
  8. func main() {
  9.         // explicitly supply credential information
  10.         config := watson.Config {
  11.                 Credentials: watson.Credentials{
  12.                         Username: "7c04e647-ece0-400c-8a9b-bb97a8e000e2",
  13.                         Password: "3tRmmVZPKVAz",
  14.                 },
  15.         }
  16.        
  17.         client, err := text_to_speech.NewClient(config)
  18.         if err != nil {
  19.                 return nil
  20.         }
  21.  
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top