Documentation ¶
Index ¶
- func FileExists(filePath string) bool
- func FixedNumberLength(number int, length int) string
- func GetFileExtension(filename string) string
- func GetImageCreationTime(file io.Reader) (time.Time, error)
- func GetVideoCreationTime(videoBuffer io.ReadSeeker) (time.Time, error)
- func IsVideo(filename string) bool
- func OutputJSONTo(writer http.ResponseWriter, object any)
- func ParseJSONFile[OutputStruct any](path string, output *OutputStruct) error
- func SaveFile(filePath string, stream io.Reader) error
- func SolveFilenameConflict(filePath string) string
- func WriteToStream(output io.Writer, input io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func FixedNumberLength ¶
func GetFileExtension ¶
func GetVideoCreationTime ¶
func GetVideoCreationTime(videoBuffer io.ReadSeeker) (time.Time, error)
func OutputJSONTo ¶
func OutputJSONTo(writer http.ResponseWriter, object any)
func ParseJSONFile ¶
func SolveFilenameConflict ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.