config

package
v0.0.0-...-dd901b8 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithMax

func WithMax(max int) cfg.Option[Config]

func WithMin

func WithMin(min int) cfg.Option[Config]

func WithOutput

func WithOutput(path string) cfg.Option[Config]

Types

type Config

type Config struct {
	Output string
	Min    int
	Max    int
}

func DefaultConfig

func DefaultConfig() Config

func Merge

func Merge(base, next Config) Config

Jump to

Keyboard shortcuts

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