config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli added in v1.1.4

type Cli struct {
	List         bool
	OutputTarget bool
	Filter       string
	Path         string
}

type Config

type Config struct {
	File
	Cli
}

func Load

func Load(cli Cli) (*Config, error)

type File added in v1.1.4

type File struct {
	Selector []string `json:"selector"`
	Targets  []Target `json:"targets"`
}

type Target

type Target struct {
	Path  string `json:"path"`
	Depth uint8  `json:"depth"`
}

Jump to

Keyboard shortcuts

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