pick

package
v0.0.0-...-2ce81c6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Picker

type Picker interface {
	GetScheduled(ctx context.Context) (map[string]data.Course, error)
	ScheduleRandom(ctx context.Context, maxDuration time.Duration) (time.Duration, error)
	MarkConverted(ctx context.Context, key, fullText string) error
}

Picker allows access to items and scheduling.

func NewDatastorePicker

func NewDatastorePicker(ctx context.Context, projectID string) (Picker, error)

NewDatastorePicker creates a new Picker connected to Google cloud datastore.

Jump to

Keyboard shortcuts

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