util

package
v0.0.0-...-089add1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDevelopment

func IsDevelopment() bool

func IsEmptyOrWhitespace

func IsEmptyOrWhitespace(s string) bool

func IsProduction

func IsProduction() bool

Name description

func SaveFile

func SaveFile(file *multipart.FileHeader) (string, error)

func StaticPath

func StaticPath(imgPath string) string

func ValidateImageFile

func ValidateImageFile(file *multipart.FileHeader) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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