From 546f3e8dde02670408960ec950f7412bef26112b Mon Sep 17 00:00:00 2001 From: Sam Xie Date: Wed, 10 Aug 2022 16:43:51 +0800 Subject: [PATCH] Clean comments --- config.go | 4 ++-- option.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.go b/config.go index 7c18fcc..c4854b1 100644 --- a/config.go +++ b/config.go @@ -58,8 +58,8 @@ type config struct { // Default use method as span name SpanNameFormatter SpanNameFormatter - // SQLCommenterEnabled enables context propagation for SQL statements - // by injecting a comment into the SQL statement. + // SQLCommenterEnabled enables context propagation for database + // by injecting a comment into SQL statements. // // Experimental // diff --git a/option.go b/option.go index b6b19da..47adab2 100644 --- a/option.go +++ b/option.go @@ -73,8 +73,8 @@ func WithMeterProvider(provider metric.MeterProvider) Option { }) } -// WithSQLCommenter will enable or disable context propagation for SQL statements -// by injecting a comment into the SQL statement. +// WithSQLCommenter will enable or disable context propagation for database +// by injecting a comment into SQL statements. // // e.g., a SQL query // SELECT * from FOO