util/id: add uuid v8
Some checks failed
lint / lint (pull_request) Failing after 1m34s
test / test (pull_request) Successful in 3m35s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-12-22 19:06:37 +03:00
parent 8d747c64a8
commit 7ecff8bb18
11 changed files with 128 additions and 93 deletions

View File

@@ -113,7 +113,7 @@ func (b *Buffer) Stream() (<-chan *Entry, chan bool) {
defer b.Unlock()
entries := make(chan *Entry, 128)
id := id.Must()
id := id.MustNew()
stop := make(chan bool)
b.streams[id] = &Stream{