store

package
v0.0.0-...-de93bbd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPath

func AbsPath(fileName string) (string, error)

func DeleteFile

func DeleteFile(fileName string) error

func GetBytesFileType

func GetBytesFileType(data []byte) string

Returns the MimeType for a []byte Only pass the necessary data!

func GetFileBytes

func GetFileBytes(fileName string) ([]byte, error)

func GetFileType

func GetFileType(fileId string) (string, error)

Returns the MIME type of a file

func OpenFile

func OpenFile(fileName string) (*os.File, error)

func SaveFile

func SaveFile(fileName string, fileBytes []byte) (string, error)

func SetupStore

func SetupStore()

Types

This section is empty.

Jump to

Keyboard shortcuts

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