Skip to content

Commit

Permalink
add nolint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
coolwednesday committed Nov 29, 2024
1 parent c58b08c commit fedacb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gofr/datasource/mongo/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit fedacb8

Please sign in to comment.