youtube

package
v0.0.0-...-d6e6fda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2013 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	Groups []struct {
		Titles []struct {
			Type  string `xml:"type,attr"`
			Value string `xml:",chardata"`
		} `xml:"http://search.yahoo.com/mrss/ title"`
		Duration struct {
			Value int `xml:"seconds,attr"`
		} `xml:"http://gdata.youtube.com/schemas/2007 duration"`
	} `xml:"http://search.yahoo.com/mrss/ group"`
}

type Video

type Video struct {
	Title    string
	Duration time.Duration
	Key      string
	Fragment string
}

func (Video) String

func (v Video) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL