From 79a431bd210df74e96e6248b6867c926f5e0b089 Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Thu, 8 Feb 2024 17:19:52 +0000 Subject: [PATCH] Fixing linter isue --- items.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/items.go b/items.go index c4bafb7..cc1b077 100644 --- a/items.go +++ b/items.go @@ -4,7 +4,6 @@ import ( "strconv" "github.com/invopop/gobl/bill" - "github.com/invopop/gobl/cbc" "github.com/invopop/gobl/i18n" "github.com/invopop/gobl/regimes/it" "github.com/invopop/gobl/tax" @@ -121,7 +120,7 @@ func findRiferimentoNormativo(rateTotal *tax.RateTotal) string { nature := rateTotal.Ext[it.ExtKeySDINature].Code() for _, c := range def.Codes { - if c.Code == cbc.Code(nature) { + if c.Code == nature { return c.Name[i18n.IT] } }