gdrive

package
v0.0.0-...-029fff3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(service *drive.Service, name string, parentID string) (*drive.File, error)

CreateDir function

func CreateFile

func CreateFile(service *drive.Service, name string, mimeType string, content io.Reader, parentID string) (*drive.File, error)

CreateFile function

func DeleteFile

func DeleteFile(service *drive.Service, fileID string) error

DeleteFile function

func GetService

func GetService(credentialFile string, tokFile string) (*drive.Service, error)

GetService function

func ListAllFiles

func ListAllFiles(service *drive.Service) (*drive.FileList, error)

ListAllFiles function

func SearchFile

func SearchFile(service *drive.Service, q string) (*drive.FileList, error)

SearchFile function

Types

This section is empty.

Jump to

Keyboard shortcuts

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