reader

package
v0.0.0-...-2f43037 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 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 File

type File struct {
	Filename string
	Filepath string
	Content  string
}

type Reader

type Reader struct {
	Reader afero.Fs
	Files  []File
}

func NewReader

func NewReader() Reader

func (*Reader) GetFiles

func (r *Reader) GetFiles() []File

func (*Reader) ReadDir

func (r *Reader) ReadDir(dir string) error

Jump to

Keyboard shortcuts

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