utils

package
v0.0.0-...-c6c6d44 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConstraintError

func CheckConstraintError(err error, constraint string) bool

func CurrentTime

func CurrentTime() time.Time

func GetParamInt

func GetParamInt(c echo.Context, key string) (*int, error)

func GetQueryParamInt

func GetQueryParamInt(c echo.Context, key string) (*int, error)

func IsURLNameValid

func IsURLNameValid(orgURL string) bool

func IsValidDenoWorkflow

func IsValidDenoWorkflow(path string) bool

func MeasureTime

func MeasureTime(start time.Time, name string)

Place at the beginning of a function and defer the returned function at the end of the function

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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