ident: system identifier generator
This is pretty fast and guarantees uniqueness when initialised correctly. Signed-off-by: Yonah <contrib@gensokyo.uk>
This commit is contained in:
@@ -34,8 +34,10 @@ func TestS(t *testing.T) {
|
||||
), ident.ErrNewline},
|
||||
|
||||
{"valid", ident.S{
|
||||
Site: ident.TrivialSite,
|
||||
Host: ident.TrivialHost,
|
||||
PartG: ident.PartG{
|
||||
Site: ident.TrivialSite,
|
||||
Host: ident.TrivialHost,
|
||||
},
|
||||
|
||||
Time: uint64(time.Date(
|
||||
0xfd, 7, 15,
|
||||
|
||||
Reference in New Issue
Block a user