gdrive

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 21 Imported by: 0

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

func NewBareModule() *models.Module

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) Len

func (a ByModifiedTime) Len() int

Len returns the length of all items

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

Jump to

Keyboard shortcuts

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