Skip to content

Commit

Permalink
endereçando comentários
Browse files Browse the repository at this point in the history
  • Loading branch information
joellensilva committed Dec 14, 2023
1 parent ca1f524 commit 7d0c60a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ func aggregatingItems(itemValues map[string]float64) models.ItemSummary {
var others float64

// Esse processo visa facilitar a iteração mútua de rubricas do contracheque <> rubricas desambiguadas
itemStruct := make(map[string]map[string]struct{})
itemStruct := make(map[string]map[string]struct{}, len(items))
for key, values := range items {
itemStruct[key] = make(map[string]struct{})
itemStruct[key] = make(map[string]struct{}, len(values))
for _, value := range values {
itemStruct[key][value] = struct{}{}
}
Expand Down

0 comments on commit 7d0c60a

Please sign in to comment.