order_id

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateOrderIdWithIncreaseIndex

func GenerateOrderIdWithIncreaseIndex(prefix string, split string, tm *time.Time) string

GenerateOrderIdWithIncreaseIndex 生成20位订单号,前缀+时间+自增长索引

func GenerateOrderIdWithRandom

func GenerateOrderIdWithRandom(prefix string, split string, tm *time.Time) string

GenerateOrderIdWithRandom 生成20位订单号,前缀+时间+随机数

Types

This section is empty.

Jump to

Keyboard shortcuts

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