config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Expr string
}

type Config

type Config struct {
	Src   string `json:"src"`
	Dest  string `json:"dest"`
	Delim *Delim `json:"delim,omitempty"`
}

type Delim

type Delim struct {
	Left  string `json:"left,omitempty"`
	Right string `json:"right,omitempty"`
}

func (*Delim) GetLeft

func (d *Delim) GetLeft() string

func (*Delim) GetRight

func (d *Delim) GetRight() string

type Finder

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

func NewFinder

func NewFinder(fs afero.Fs) *Finder

func (*Finder) Find

func (f *Finder) Find() (string, error)

type Reader

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

func NewReader

func NewReader(fs afero.Fs) *Reader

func (*Reader) Read

func (r *Reader) Read(p string, cfg *Config) error

Jump to

Keyboard shortcuts

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