Skip to content

abhishek2896/TwiML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TwiML

Build Status

Installation

You can use the SDK using the go command.

$ go get github.com/Abhishek-Nagarkoti/TwiML

You can also install by cloning this repository into your GOPATH.

Generate TwiML XML

package main

import "github.com/Abhishek-Nagarkoti/TwiML"

func main()  {
  println(TwiML.ResponseElement{
    Contents: []interface{}{
      new(TwiML.SayElement).SetContents("Hello, world!"),
    },
    }.String())
}

This generates the following XML:

<Response>
  <Say>Hello, world!</Say>
</Response>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages