mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
Rearrange fields of InternalUuidGenerator struct to fit atomic alignment requirements
This commit is contained in:
@@ -35,8 +35,8 @@ type InternalUuidInfo struct {
|
||||
|
||||
// InternalUuidGenerator represents internal bundled uuid generator
|
||||
type InternalUuidGenerator struct {
|
||||
uuidServerId uint8
|
||||
uuidSeqNumbers [1 << internalUuidTypeBits]uint64
|
||||
uuidServerId uint8
|
||||
}
|
||||
|
||||
// NewInternalUuidGenerator returns a new internal uuid generator
|
||||
|
||||
Reference in New Issue
Block a user