model

package
v0.0.0-...-e48dafa Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorModelToString

func ColorModelToString(cm color.Model) string

Types

type Comic

type Comic struct {
	Type ComicType
	Path string
	Info ComicInfo
}

func (Comic) Rename

func (c Comic) Rename() string

type ComicInfo

type ComicInfo struct {
	Author string
	Title  string
	Number float64
	Volume string
	Append string
}

func ParseComicInfo

func ParseComicInfo(name string) (info *ComicInfo, _ error)

type ComicType

type ComicType int
const (
	ComicTypeUnknown ComicType = iota
	ComicTypeRAR
	ComicTypeDir
)

type Page

type Page struct {
	Rel    string
	Format string
	Config image.Config
}

Jump to

Keyboard shortcuts

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