cfg

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Format *string `yaml:"format,omitempty"`
	Comic  struct {
		Name     string    `yaml:"name"`
		Sections []Section `yaml:"sections"`
	} `yaml:"comic,omitempty"`
}

func (*Config) Parse

func (c *Config) Parse(data []byte) error

type Section

type Section struct {
	Start *int    `yaml:"start,omitempty"`
	End   int     `yaml:"end"`
	Year  *int    `yaml:"year,omitempty"`
	Title *string `yaml:"title,omitempty"`
}

Jump to

Keyboard shortcuts

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