From 821b84156e7fc1f88f94754225ce3eb474a4ef2b Mon Sep 17 00:00:00 2001 From: guanwenbo Date: Mon, 21 Dec 2020 14:27:35 +0800 Subject: [PATCH] fix: modified the comments --- config/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/options.go b/config/options.go index a5065072..a2b9cbc2 100644 --- a/config/options.go +++ b/config/options.go @@ -148,7 +148,7 @@ func Extractor(format interface{}, extractor jaeger.Extractor) Option { } } -// WithRandomNumber set the Tracer random number func +// WithRandomNumber supplies a random number generator function to the Tracer used to generate trace and span IDs. func WithRandomNumber(f func() uint64) Option { return func(c *Options) { c.randomNumber = f