jnovelclub

package
v0.0.0-...-395a013 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONVolumeInfo

type JSONVolumeInfo struct {
	Props struct {
		PageProps struct {
			Aggregate struct {
				Volumes []struct {
					Volume struct {
						Title             string `json:"title,omitempty"`
						Slug              string `json:"slug,omitempty"`
						Number            int    `json:"number,omitempty"`
						OriginalPublisher string `json:"originalPublisher,omitempty"`
						Label             string `json:"label,omitempty"`
						Hidden            bool   `json:"hidden,omitempty"`
						ForumTopicID      int    `json:"forumTopicId,omitempty"`
						Created           struct {
							Seconds string `json:"seconds,omitempty"`
							Nanos   int    `json:"nanos,omitempty"`
						} `json:"created,omitempty"`
						Publishing struct {
							Seconds string `json:"seconds,omitempty"`
							Nanos   int    `json:"nanos,omitempty"`
						} `json:"publishing,omitempty"`
						TotalParts int `json:"totalParts,omitempty"`
					} `json:"volume,omitempty"`
				} `json:"volumes,omitempty"`
			} `json:"aggregate,omitempty"`
			ID string `json:"id,omitempty"`
		} `json:"pageProps,omitempty"`
	} `json:"props,omitempty"`
}

type VolumeInfo

type VolumeInfo struct {
	Name        string
	ReleaseDate time.Time
}

func GetVolumeInfo

func GetVolumeInfo(seriesName string, slugOverride *string, verbose bool) []VolumeInfo

Jump to

Keyboard shortcuts

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