Documentation ¶ Index ¶ func DownloadFile(url string, dirPath string, fileName string) func EnsureDir(tracks []interface{}, basePath string) type OAuth2 func Login() (*OAuth2, error) func (OAuth2 *OAuth2) Download(id string) func (OAuth2 *OAuth2) GetVoiceTracks(id string) ([]interface{}, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DownloadFile ¶ func DownloadFile(url string, dirPath string, fileName string) func EnsureDir ¶ func EnsureDir(tracks []interface{}, basePath string) Types ¶ type OAuth2 ¶ type OAuth2 struct { Authorization string } func Login ¶ func Login() (*OAuth2, error) func (*OAuth2) Download ¶ func (OAuth2 *OAuth2) Download(id string) func (*OAuth2) GetVoiceTracks ¶ func (OAuth2 *OAuth2) GetVoiceTracks(id string) ([]interface{}, error) Source Files ¶ View all Source files spider.go Click to show internal directories. Click to hide internal directories.