@@ -99,7 +99,9 @@ func (c *Client) Do(ctx context.Context, op query.Operation, opts ...options.DoO
9999 case <- c .done :
100100 return xerrors .WithStackTrace (errClosedClient )
101101 default :
102- onDone := trace .QueryOnDo (c .config .Trace (), & ctx , stack .FunctionID ("" ))
102+ onDone := trace .QueryOnDo (c .config .Trace (), & ctx ,
103+ stack .FunctionID ("" ),
104+ )
103105 attempts , err := do (ctx , c .pool , op , c .config .Trace (), opts ... )
104106 onDone (attempts , err )
105107
@@ -154,7 +156,9 @@ func (c *Client) DoTx(ctx context.Context, op query.TxOperation, opts ...options
154156 case <- c .done :
155157 return xerrors .WithStackTrace (errClosedClient )
156158 default :
157- onDone := trace .QueryOnDoTx (c .config .Trace (), & ctx , stack .FunctionID ("" ))
159+ onDone := trace .QueryOnDoTx (c .config .Trace (), & ctx ,
160+ stack .FunctionID ("" ),
161+ )
158162 attempts , err := doTx (ctx , c .pool , op , c .config .Trace (), opts ... )
159163 onDone (attempts , err )
160164
@@ -164,7 +168,8 @@ func (c *Client) DoTx(ctx context.Context, op query.TxOperation, opts ...options
164168
165169func New (ctx context.Context , balancer balancer , cfg * config.Config ) * Client {
166170 onDone := trace .QueryOnNew (cfg .Trace (), & ctx ,
167- stack .FunctionID ("github.com/ydb-platform/ydb-go-sdk/3/internal/query.New" ))
171+ stack .FunctionID ("github.com/ydb-platform/ydb-go-sdk/3/internal/query.New" ),
172+ )
168173 defer onDone ()
169174
170175 client := & Client {
0 commit comments