definitions

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package that contains definitions of different types, that is shared between packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryType

type CategoryType int

Category enum-like constants. Consistent with database definitions.

const (
	CategoryGenre      CategoryType = iota + 1 // Database value for Genre.
	CategoryPublisher                          // Database value for Publisher.
	CategoryTranslator                         // Database value for Translator.
)

func Categories

func Categories() []CategoryType

Return a slices of category type.

Jump to

Keyboard shortcuts

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