filter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByCircle

func ByCircle(db *sql.DB, circle CircleDB, basepath string)

ByCircle filters works by Circle and create symbolic links for the files of the works filtered

func BySfw

func BySfw(db *sql.DB, isSfw bool, basepath string)

BySfw filters works by SFW or NSFW and create symbolic links for the files of the works filtered

func ByTag

func ByTag(db *sql.DB, tag TagDB, basepath string)

ByTag filters works by Tag and create symbolic links for the files of the works filtered

func ByVoiceActor

func ByVoiceActor(db *sql.DB, va VoiceActorDB, basepath string)

ByVoiceActor filters works by Voice Actor and create symbolic links for the files of the works filtered

Types

type CircleDB

type CircleDB struct {
	ID   int
	Name string
}

A CircleDB represents data of the circle on the db

func GetAllCircles

func GetAllCircles(db *sql.DB) []CircleDB

GetAllCircles returns all circles stored on DB

type TagDB

type TagDB struct {
	ID   int
	Name string
}

A TagDB contains data of the tag on the db

func GetAllTags

func GetAllTags(db *sql.DB) []TagDB

GetAllTags returns all tags stored on DB

type VoiceActorDB

type VoiceActorDB struct {
	ID   int
	Name string
}

A VoiceActorDB contains data of the VA on the DB

func GetAllVoiceActors

func GetAllVoiceActors(db *sql.DB) []VoiceActorDB

GetAllVoiceActors returns all Voice Actors stored opn DB

type WorkFilterResult

type WorkFilterResult struct {
	ID   string
	Name string
	// contains filtered or unexported fields
}

A WorkFilterResult contains information of queried work filtered

Jump to

Keyboard shortcuts

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