utils

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePDFPreview

func GeneratePDFPreview(inputPath, outputPath string) error

func GenerateThumbnail

func GenerateThumbnail(inputPath, outputPath string, width uint) error

func GenerateVideoPreview

func GenerateVideoPreview(inputPath, outputPath string) error

func InterfaceSlice

func InterfaceSlice[T any](slice []T) []any

func ProcessFile

func ProcessFile(file *multipart.FileHeader) (string, []byte, error)

func ValidateFolderPath

func ValidateFolderPath(folderPath string) []string

ValidateFolderPath validates a folder path and splits it into components if valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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