utils

package
v0.0.0-...-03f397b Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(x any) string

应为是对string进行hash 传递任何对象进来,使用sha1进行hash

func Int32Ptr

func Int32Ptr(v int32) *int32

func PtrFloat64

func PtrFloat64(v *float64) float64

func PtrInt32

func PtrInt32(v *int32) int32

func PtrInt64

func PtrInt64(v *int64) int64

func PtrStrV

func PtrStrV(v *string) string

func SlicePtrStrv

func SlicePtrStrv(items []*string) []string

func StringPtr

func StringPtr(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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