Documentation ¶
Index ¶
- func DownloadFile(driveClient *drive.Service, file *File) error
- func DownloadFilesInFolder(driveClient *drive.Service, folder *Folder) error
- func DownloadItem(id string, alsoListDetails bool) error
- func ListDetailsAndDownloadFile(driveClient *drive.Service, file *File) error
- func ListDetailsAndDownloadfilesInFolder(driveClient *drive.Service, folder *Folder) error
- func ListFileDetails(file *File)
- func ListFolderDetails(folder *Folder)
- func ListItemDetails(id string) error
- func NewDriveClientUsingOauth2()
- func NewDriveClientUsingServiceAccount() (*drive.Service, error)
- func Prettify(data interface{}) string
- func SetDownloadFolderPath(path string)
- type File
- type Folder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
Download File to default download folder path
func DownloadFilesInFolder ¶
Download folder to default download path
func DownloadItem ¶
func ListDetailsAndDownloadFile ¶
List details and Download File to default download folder path
func ListDetailsAndDownloadfilesInFolder ¶
List folder details and Download Folder to default download path
func ListItemDetails ¶
func NewDriveClientUsingServiceAccount ¶
func NewDriveClientUsingServiceAccount() (*drive.Service, error)
Drive Client using Service Account
Types ¶
Click to show internal directories.
Click to hide internal directories.