Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Gapp = map[string]string{
"gdoc": "application/vnd.google-apps.document",
"gsheet": "application/vnd.google-apps.spreadsheet",
"gdraw": "application/vnd.google-apps.drawing",
"gscript": "application/vnd.google-apps.script",
"photo": "application/vnd.google-apps.photo",
"gslide": "application/vnd.google-apps.presentation",
"gmap": "application/vnd.google-apps.map",
"gform": "application/vnd.google-apps.form",
"folder": "application/vnd.google-apps.folder",
"file": "application/vnd.google-apps.file",
"jpg": "image/jpeg",
"png": "image/png",
"svg": "image/svg+xml",
"pdf": "application/pdf",
"html": "text/html",
"text": "text/plain",
"rich": "application/rtf",
"word": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"excel": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"csv": "text/csv",
"ppt": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
}
Functions ¶
func InitDriveApi ¶
func InitDriveApi() (svc *drive.Service, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.