From 60e5f41cc2a00ca7abed7242f0f26f7ed4974cdf Mon Sep 17 00:00:00 2001 From: Wesley Werneck Date: Sun, 5 Nov 2023 09:34:08 -0300 Subject: [PATCH] fix lint issue --- pkg/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client.go b/pkg/client.go index 9ef7dd6..05397cb 100644 --- a/pkg/client.go +++ b/pkg/client.go @@ -37,7 +37,7 @@ func MakeRangeRequest(startDate time.Time, endDate time.Time, currency string, f filtered := []DayValues{} for i := range result.Value { - if (result.Value[i].TipoBoletim == "Fechamento") || (filter == false) { + if (result.Value[i].TipoBoletim == "Fechamento") || (!filter) { filtered = append(filtered, DayValues{CotacaoCompra: result.Value[i].CotacaoCompra, CotacaoVenda: result.Value[i].CotacaoVenda, DataHoraCotacao: result.Value[i].DataHoraCotacao}) } }