utils

package
v0.0.0-...-615e99e Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const UserID = "user_id"

Variables

This section is empty.

Functions

func GenerateK8sUuid

func GenerateK8sUuid() string

func ParseIDString2IDs

func ParseIDString2IDs(str string) ([]int64, error)

func ParseIDs2String

func ParseIDs2String(ids []int64) (string, error)

func ParseUIDByCtx

func ParseUIDByCtx(ctx *gin.Context) int64

func RemoveRepeatedIDs

func RemoveRepeatedIDs(ids []int64) []int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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