Documentation ¶
Overview ¶
Package gdrive contains the implementation of the google drive module
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBareModule ¶
NewBareModule returns a bare module implementation for the CLI options
Types ¶
type ByModifiedTime ¶
type ByModifiedTime []*drive.File
ByModifiedTime implements the Sort interface of the sort package
func (ByModifiedTime) Less ¶
func (a ByModifiedTime) Less(i int, j int) bool
Less compares the modified timestamp and returns if the ith item is less than the jth item
func (ByModifiedTime) Swap ¶
func (a ByModifiedTime) Swap(i int, j int)
Swap swaps the passed indexes to apply the sorting
Click to show internal directories.
Click to hide internal directories.