helpers

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFolder

func CreateFolder(path string, folder string) string

Create a folder on disk if it dows not already exsist

func DeleteFile

func DeleteFile(path string, fileName string) (err error)

Delete a saved file

func DeleteFolder

func DeleteFolder(path string, folder string) (err error)

Delete all folders and files in a folder

func ReadJson

func ReadJson(data interface{}, path string, fileName string)

reads the Json and creates a new if not found

func UpdateJson

func UpdateJson(data interface{}, path string, fileName string)

updates the Json

Types

This section is empty.

Jump to

Keyboard shortcuts

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