utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIP added in v0.0.2

func GetIP(r *http.Request) string

GetIP get the client's ip address

func GetUserAgent added in v0.0.2

func GetUserAgent(r *http.Request) string

GetUserAgent get the client's user-agent

func Now

func Now() time.Time

Now now

func Pointer

func Pointer[Value any](v Value) *Value

Pointer pointer

func TimeZone

func TimeZone() string

TimeZone time zone

Types

This section is empty.

Directories

Path Synopsis