static

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPathTree

func GetPathTree(path string) []string

GetPathTree builds ta tree from the path

func IsDir

func IsDir(path string) bool

IsDir checks if path is a dir

Types

type FileData

type FileData struct {
	Bytes       []byte
	ContentType string
}

FileData is a file data structure

func GetFile

func GetFile(path string) (*FileData, error)

GetFile returns the file from a given path

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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