profiles

package
v2.0.0-...-c09f89d Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

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
	Description string
	Width       int
	Height      int
}

type Profiles

type Profiles []Profile

func New

func New() Profiles

Initialize list of all supported profiles.

func (Profiles) Get

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

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