comicrack

package
v0.0.0-...-a11c799 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComicInfo

type ComicInfo struct {
	Title           string `xml:"Title"`
	Series          string `xml:"Series"`
	Volume          int    `xml:"Volume"`
	Number          int    `xml:"Number"`
	Writer          string `xml:"Writer"`
	Penciller       string `xml:"Penciller"`
	Inker           string `xml:"Inker"`
	Colorist        string `xml:"Colorist"`
	ScanInformation string `xml:"ScanInformation"`
	Summary         string `xml:"Summary"`
	Year            int    `xml:"Year"`
	PageCount       int    `xml:"PageCount"`
	Pages           []struct {
		Image       int    `xml:"Image,attr"`
		Bookmark    string `xml:"Bookmark,attr"`
		Type        string `xml:"Type,attr"`
		ImageSize   int    `xml:"ImageSize,attr"`
		ImageWidth  int    `xml:"ImageWidth,attr"`
		ImageHeight int    `xml:"ImageHeight,attr"`
	} `xml:"Pages>Page"`
}

ComicInfo struct for comicrack file metadata

func Parse

func Parse(fd io.ReadCloser) ComicInfo

Parse get the data and parse it to the ComicRack struct

Jump to

Keyboard shortcuts

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