Versions in this module Expand all Collapse all v0 v0.1.0 Dec 4, 2023 Changes in this version + 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 struct + Id string + MimeType string + Name string + Size int64 + func GetFile(driveClient *drive.Service, fileId string) (*File, error) + type Folder struct + Files []File + Folders []Folder + Id string + Name string + func GetFolder(driveClient *drive.Service, folderId string) (*Folder, error)