sequence

package
v0.0.0-...-0f65a33 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatSequenceNo

func FormatSequenceNo(seq int64) string

FormatSequenceNo 格式化 seq 为 12 位的十进制字符串.

func LowestFourBytesForUserID

func LowestFourBytesForUserID(userID int64) string

LowestFourBytesForUserID 获取用户ID的低 4 位.

func NewOrderNo

func NewOrderNo(userId int64) (string, error)

获取 orderNo 示例:202103110005895719897912

Types

This section is empty.

Jump to

Keyboard shortcuts

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