util

package
v0.0.0-...-7955bae Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const LOG_FMT = "${time_rfc3339_nano} ${remote_ip} ${level}"
View Source
const LOG_FMT_MIDDLEWARE = "${time_rfc3339} ${remote_ip} ${method} ${status} ${uri} \n"

Variables

This section is empty.

Functions

func AlmostEqual32

func AlmostEqual32(a, b float32) bool

func AlmostEqual64

func AlmostEqual64(a, b float64) bool

func BytesIsEmptyOrWhitespace

func BytesIsEmptyOrWhitespace(b []byte) bool

func EchoRenderTempl

func EchoRenderTempl(c echo.Context, component templ.Component) error

func F32TS

func F32TS(value float32) string

func GetNewOrderName

func GetNewOrderName(uid string) string

func GetOrderID

func GetOrderID() string

func InitLogging

func InitLogging(app *echo.Echo)

func IsEmptyOrWhitespace

func IsEmptyOrWhitespace(s string) bool

func MakeDirectory

func MakeDirectory(path string) error

func SendDiscordOrderWebhook

func SendDiscordOrderWebhook(content string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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