utils

package
v0.0.0-...-4e526d6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoGenerateBookingCode

func AutoGenerateBookingCode() string

func GenerateTableName

func GenerateTableName(name string, date time.Time) string

func MakeLogEntry

func MakeLogEntry(c echo.Context) *log.Entry

func RandomUUID

func RandomUUID() string

func ValidateRequest

func ValidateRequest(validate *validator.Validate, request interface{}) (error, []string)

Types

type LogStruct

type LogStruct struct {
	Code      int
	Mssg      string
	LogDetail string
	Data      interface{}
}

Jump to

Keyboard shortcuts

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