@@ -0,0 +1,15 @@
package log
import (
"context"
"math/rand"
)
type idContext struct {
context.Context
id uint32
}
func ContextWithID(ctx context.Context) context.Context {
return &idContext{ctx, rand.Uint32()}
The note is not visible to the blocked user.