podcast/author.go

13 lines
289 B
Go

package podcast
import "encoding/xml"
// Author represents a named author and email.
//
// For iTunes compliance, both Name and Email are required.
type Author struct {
XMLName xml.Name `xml:"itunes:owner"`
Name string `xml:"itunes:name"`
Email string `xml:"itunes:email"`
}