drive

package
v0.0.0-...-56eedc8 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFile

func DeleteFile(docId string) error

delete file from drive

func DownloadFile

func DownloadFile(fileId string, fileName string)

download a file to output folder

func GetFileId

func GetFileId(File string) (string, error)

return template Id from specified templateName

func ListFileNames

func ListFileNames() []string

func NewTemplate

func NewTemplate(newFileName string, templateId string) string

create a new file from Template, takes in a fileName and a docId in the form of templateId

func ParseTemplateFields

func ParseTemplateFields(fileId string) []string

return a slice of fields from a template

func SearchForFiles

func SearchForFiles(q string)

returns a list of files and file Ids that contain the query string

Types

This section is empty.

Jump to

Keyboard shortcuts

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