Documentation ¶
Index ¶
- func Base64Decode(text string) string
- func Base64Encode(text string) string
- func Contains(slice []string, item string) bool
- func CreateTempDir() string
- func DownloadFile(url string, outputPath string) error
- func EnsureDir(fileName string) error
- func ExecCmd(command string, args ...string) (string, error)
- func ReverseSlice[T any](slice []T) []T
- func SaveFileToTemp(file *multipart.FileHeader) (string, error)
- func UnzipFile(zipFilePath, destDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func CreateTempDir ¶
func CreateTempDir() string
func DownloadFile ¶
func ReverseSlice ¶
func ReverseSlice[T any](slice []T) []T
func SaveFileToTemp ¶
func SaveFileToTemp(file *multipart.FileHeader) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.