filesystem

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnableToReadFile = "unable to read file: %v"
)

Functions

func GetCurrentDirectory

func GetCurrentDirectory() (string, error)

GetCurrentDirectory gets the current directory of the executable

func ReadFile

func ReadFile(path string) ([]byte, error)

ReadFile reads the file from the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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