utils

package
v0.0.0-...-5c2a801 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheBustedURL

func CacheBustedURL(filePath string) (string, error)

func IsTrustedDomain

func IsTrustedDomain(urlStr string) bool

func IsValidDate

func IsValidDate(d string) bool

func IsValidURL

func IsValidURL(urlStr string) bool

func LoadEnv

func LoadEnv() error

LoadEnv loads environment variables from a .env file

func RedirectBack

func RedirectBack(w http.ResponseWriter, r *http.Request)

func RedisClient

func RedisClient() *redis.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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