storage

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountWhereSubjectIs

func CountWhereSubjectIs(subject string, documents []Document) int32

func GetSubjects

func GetSubjects(documents []Document) []string

func SaveFiles

func SaveFiles(in []Document) error

Types

type Document

type Document struct {
	Subject  string
	Filename string
	Topics   []string
	Teacher  string
	Type     string
}

func FilterWhereSubjectIs

func FilterWhereSubjectIs(subject string, documents []Document) []Document

func GetFiles

func GetFiles() ([]Document, error)

Jump to

Keyboard shortcuts

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