Documentation ¶
Overview ¶
Package driveapi provides basic functionality to work with Google Drive API.
Index ¶
Constants ¶
View Source
const ( MimeTypeGoogleDoc = iota MimeTypeGoogleDrawing MimeTypeGoogleDriveFile MimeTypeGoogleDriveFolder MimeTypeGoogleForm MimeTypeGoogleFusionTable MimeTypeGoogleMyMap MimeTypeGoogleSlide MimeTypeGoogleAppsScript MimeTypeShortcut MimeTypeGoogleSite MimeTypeGoogleSpreadsheet )
Variables ¶
This section is empty.
Functions ¶
func GoogleAppsMimeTypeText ¶
Types ¶
type File ¶
type File interface { String() string IsDir() bool IsGoogleAppsFile() bool ListFiles(ctx context.Context) ([]File, error) Size() uint64 Name() string MimeType() string ParentID() string ParentName() string Content() []byte Files() []File ID() string Download(ctx context.Context) (io.ReadCloser, error) }
Click to show internal directories.
Click to hide internal directories.