modulegdrive

package
v0.0.0-...-e3d98aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL