types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Path  string
	Info  os.FileInfo
	Depth int // Глубина вложенности для форматирования вывода
}

Entry представляет элемент файловой системы

type Exporter

type Exporter interface {
	Export(w io.Writer, entries []interface{}) error
}

Exporter интерфейс для всех форматов экспорта

type Format

type Format string

Format поддерживаемые форматы

const (
	FormatPNG  Format = "png"
	FormatTXT  Format = "txt"
	FormatJSON Format = "json"
)

type PNGExporter

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

type TextExporter

type TextExporter struct{}

Jump to

Keyboard shortcuts

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