Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleDrive ¶ added in v0.0.4
type GoogleDrive struct {
// contains filtered or unexported fields
}
func NewGoogleDrive ¶ added in v0.0.4
func NewGoogleDrive(srvDrive *drive.Service) (res GoogleDrive)
func (*GoogleDrive) CreateDuplicate ¶ added in v0.0.4
func (gd *GoogleDrive) CreateDuplicate(fileId, filename, desc string) (fileDupId string, err error)
func (*GoogleDrive) DeleteFiles ¶ added in v0.0.4
func (gd *GoogleDrive) DeleteFiles(fileId ...string) (fileStatus map[string]bool, err error)
func (*GoogleDrive) DownloadFile ¶ added in v0.0.4
func (gd *GoogleDrive) DownloadFile(fileId, mimeType string) (res *http.Response, err error)
Click to show internal directories.
Click to hide internal directories.