Documentation ¶
Index ¶
- func CreateDir(service *drive.Service, name string, parentID string) (*drive.File, error)
- func CreateFile(service *drive.Service, name string, mimeType string, content io.Reader, ...) (*drive.File, error)
- func DeleteFile(service *drive.Service, fileID string) error
- func GetService(credentialFile string, tokFile string) (*drive.Service, error)
- func ListAllFiles(service *drive.Service) (*drive.FileList, error)
- func SearchFile(service *drive.Service, q string) (*drive.FileList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
func CreateFile(service *drive.Service, name string, mimeType string, content io.Reader, parentID string) (*drive.File, error)
CreateFile function
func GetService ¶
GetService function
func ListAllFiles ¶
func ListAllFiles(service *drive.Service) (*drive.FileList, error)
ListAllFiles function
func SearchFile ¶
SearchFile function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.