utils

package
v0.0.0-...-bed19f8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeRandInt

func FakeRandInt(min int, max int) int

func GetClientIp

func GetClientIp(r *http.Request) string

func MarshalToString

func MarshalToString(v any) string

func RealRandInt

func RealRandInt(min int, max int) int

RealRandInt returns a real-random integer between min and max [min, max) (including min, excluding max)

Types

This section is empty.

Jump to

Keyboard shortcuts

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