Advertisement
Guest User

Untitled

a guest
May 7th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement