From fedacb854db8683f6041c87f6c27e7604dd6b287 Mon Sep 17 00:00:00 2001 From: Divya Darshana Date: Fri, 29 Nov 2024 15:45:15 +0530 Subject: [PATCH] add nolint comment --- pkg/gofr/datasource/mongo/mongo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/gofr/datasource/mongo/mongo.go b/pkg/gofr/datasource/mongo/mongo.go index cd43d5d10..b3b633e03 100644 --- a/pkg/gofr/datasource/mongo/mongo.go +++ b/pkg/gofr/datasource/mongo/mongo.go @@ -54,6 +54,8 @@ i.e. by default observability features gets initialized when used with GoFr. // client.UseLogger(loggerInstance) // client.UseMetrics(metricsInstance) // client.Connect(). + +//nolint:gocritic // Configs must not be passed by reference func New(c Config) *Client { return &Client{config: &c} }