api

package
v0.0.0-...-511fc9c Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator struct {
	Name string
}

type Credits

type Credits = map[Role][]string

type Episode

type Episode struct {
	Series    string
	Title     string
	Part      int
	FirstPage int
	LastPage  int
	Credits   Credits
}

An Episode represents information extracted from a PDF bookmark.

type ExportPage

type ExportPage struct {
	Filename    string
	IssueNumber int
	Title       string
	PageFrom    int
	PageTo      int
}

type Issue

type Issue struct {
	Publication string
	IssueNumber int
	Episodes    []*Episode
	Filename    string
}

type Role

type Role int64
const (
	Unknown Role = iota
	Script
	Art
	Colours
	Letters
)

func NewRole

func NewRole(s string) (Role, error)

func (Role) String

func (r Role) String() string

Jump to

Keyboard shortcuts

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