rexSony

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextId

func NextId() string

note: 为了保持旧兼容

func SonyNextId

func SonyNextId(node uint16) string

note: 索尼基于雪花算法实现的变种 note: https://github.com/sony/sonyflake

func TwitterSony

func TwitterSony(nodeCode int64) (string, error)

note: Twitter雪花算法的golang实现 note: https://github.com/bwmarrin/snowflake

func TwitterSonyNode added in v1.0.14

func TwitterSonyNode(nodeCode int64) (*snowflake.Node, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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