Help us shape the future of Go! Take the 2026 Go Developer Survey

printer

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ListThemes

func ListThemes() []string

Types

type Config

type Config struct {
	Theme   Theme
	Grass   string
	Animate bool
}

type PrintOptions

type PrintOptions struct {
	Theme    Theme
	Calendar github.Calendar
	Grass    string
}

type Printer

type Printer struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *Config) *Printer

func (*Printer) Print

func (p *Printer) Print(w io.Writer, calendar github.Calendar) error

type Theme

Jump to

Keyboard shortcuts

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