profiles

package
v2.7.2 Latest Latest
Warning

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

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

Documentation

Overview

Package profiles manage supported profiles for go-comic-converter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Code        string `json:"code"`
	Description string `json:"description"`
	Width       int    `json:"width"`
	Height      int    `json:"height"`
}

type Profiles

type Profiles []Profile

func New

func New() Profiles

New Initialize list of all supported profiles.

func (Profiles) Get

func (p Profiles) Get(name string) *Profile

Get Lookup profile by code

func (Profiles) String

func (p Profiles) String() string

Jump to

Keyboard shortcuts

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