utils

package
v0.0.0-...-ad1e6f0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func CheckSliceContains

func CheckSliceContains(slice []string, e string) bool

func CreateDir

func CreateDir(path string) error

func CreateRandString

func CreateRandString(n int) string

func DoError

func DoError(c *gin.Context, status int, err error)

func ExtractToken

func ExtractToken(c *gin.Context) string

func FindIndexByValue

func FindIndexByValue(slice []string, value string) int

func OsCreateFile

func OsCreateFile(fullpath string, file multipart.File) error

func PrintAsciiVersion

func PrintAsciiVersion()

func RemoveElementOfSlice

func RemoveElementOfSlice(slice []string, index int) []string

func RequestToPdfToImage

func RequestToPdfToImage(path string, name string) bool

POST request onto pdf creation

func SendPasswordResetEmail

func SendPasswordResetEmail(resetPasswordId string, emailAdress string)

func Upload

func Upload(client *http.Client, url string, values map[string]io.Reader, name string) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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