forked from mirror/go.uuid
Omit epochFunc variable type as it will be inferred from the value.
This commit is contained in:
parent
79765f767f
commit
afe1e2ddf0
2
uuid.go
2
uuid.go
|
@ -65,7 +65,7 @@ const dash byte = '-'
|
||||||
var (
|
var (
|
||||||
storageMutex sync.Mutex
|
storageMutex sync.Mutex
|
||||||
storageOnce sync.Once
|
storageOnce sync.Once
|
||||||
epochFunc func() uint64 = unixTimeFunc
|
epochFunc = unixTimeFunc
|
||||||
clockSequence uint16
|
clockSequence uint16
|
||||||
lastTime uint64
|
lastTime uint64
|
||||||
hardwareAddr [6]byte
|
hardwareAddr [6]byte
|
||||||
|
|
Loading…
Reference in New Issue