helpers

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxEmailLength = 254

Variables

This section is empty.

Functions

func FileMove added in v0.4.6

func FileMove(sourcePath, destPath string) error

FileMove moves a file from a source path to a destination path. This must be used across the codebase for compatibility with Docker volumes and Golang (fixes Invalid cross-device link when using os.Rename)

func ValidateEmail

func ValidateEmail(email string) (string, error)

Types

type Hash added in v0.4.12

type Hash interface {
	Hash() []byte
}

Jump to

Keyboard shortcuts

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