strconv

package
v0.0.0-...-990fba0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseUid

func ParseUid(uidStr string) (int64, error)

由于前端处理int64类型会出现精度丢失,所以与前端交互的uid全部使用string类型 uid统一用用该方法来做转换

func StringInArr

func StringInArr(str string, arr []string) bool

func UidArrStr2Int

func UidArrStr2Int(strArr []string) (res []int64, err error)

func UidInt2Str

func UidInt2Str(uid int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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