123456789101112 |
- // Copyright 2019 autocareai.com. All rights reserved.
- // Use of this source code is governed by autocareai.com.
- package id
- // 获取分布式唯一id
- func GetDistributedUniqueID() (uint64, error) {
- if sf == nil {
- return 0, nil
- }
- return sf.NextID()
- }
|