Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GDriveRepository ¶
type GDriveRepository interface {
CreateNewFolder(folderName, parentID string) (*drive.File, error)
SetWriterPermission(fileID, email string) (*drive.Permission, error)
UploadDocxFile(filePath, filename, parentID string) (*drive.File, error)
}
GDriveRepository list out available function
func NewGDriveHandler ¶
func NewGDriveHandler(ctx context.Context, credentialPath string) (GDriveRepository, error)
NewGDriveHandler works as a handler to use Google Drive module
Click to show internal directories.
Click to hide internal directories.