utils

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindQueryParams

func BindQueryParams(context echo.Context, dest interface{}) error

func EnumExpression

func EnumExpression(value string) StringExpression

func GenerateOtp

func GenerateOtp() string

func GenerateUniqueId

func GenerateUniqueId() string

func GetFeatureFlags

func GetFeatureFlags(userId, organizationId uuid.UUID) (api_types.FeatureFlags, error)

func IsValidEmail

func IsValidEmail(email string) bool

func ParsePhoneNumber

func ParsePhoneNumber(phoneNumber string) (*phonenumbers.PhoneNumber, error)

func ParseUlid

func ParseUlid(id string) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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