read

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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 Config

type Config struct {
	Filesystem fs.FS
	Path       string
	Lines      [][]byte
}

Config is to save essential data, like the filesystem The path & the slice of byte slice

func (*Config) File

func (c *Config) File() error

File is to read the file from the filesystem We store the scanned lines as bytes in a struct slice of slice bytes After that we closed the file

Jump to

Keyboard shortcuts

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