sole

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() int64

func GetSync

func GetSync() int64

func GetSyncWith

func GetSyncWith(name any) int64

func GetWith

func GetWith(name any) int64

func SonyflakeID

func SonyflakeID() int64

SonyflakeID 获取一个雪花id

func SonyflakeIDE

func SonyflakeIDE() (int64, error)

SonyflakeIDE 获取一个雪花id

func SonyflakeSetting

func SonyflakeSetting(settings sonyflake.Settings)

SonyflakeSetting 配置雪花id生成策略

Types

This section is empty.

Jump to

Keyboard shortcuts

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