misc

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomNumber

func GenerateRandomNumber(number_length int) (string, error)

Generate Random Number

func Hash_256

func Hash_256(s string) (string, error)

Sha256 Algorithm

func IsNumber

func IsNumber(otp string) (string, error)

check whether a string is number or not(e.g : OTP)

func NormalizeEmail

func NormalizeEmail(email string, supported_email_providers map[string]bool) (string, error)

validates providers

Types

This section is empty.

Jump to

Keyboard shortcuts

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