utils

package
v0.0.0-...-ef8624d Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PtrOfBool

func PtrOfBool(v bool) *bool

func PtrOfBoolType

func PtrOfBoolType[OutT ~bool, T ~bool](in T) *OutT

func PtrOfInt32

func PtrOfInt32(v int32) *int32

func PtrOfInt64

func PtrOfInt64(v int64) *int64

func PtrOfIntegerTypePtr

func PtrOfIntegerTypePtr[OutT constraints.Integer, T constraints.Integer, PtrT *T](pt PtrT) *OutT

func PtrOfString

func PtrOfString(v string) *string

func PtrOfStringTypePtr

func PtrOfStringTypePtr[OutT ~string, T ~string, PtrT *T](pt PtrT) *OutT

func RandOTP

func RandOTP() string

func RandString

func RandString(n int, letterRunes []rune) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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