diff --git a/.golangci.yml b/.golangci.yml index b5336a7..cca0214 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -62,7 +62,7 @@ linters: - sqlclosecheck - stylecheck - tagalign - # - tagliatelle + - tagliatelle - tenv - testableexamples - thelper diff --git a/internal/entity/price.go b/internal/entity/price.go index e142556..88faa5d 100644 --- a/internal/entity/price.go +++ b/internal/entity/price.go @@ -5,6 +5,7 @@ type Price struct { AzbitPacToUSDT AzbitPriceResponse } +//nolint:tagliatelle // External dependency type XeggexPriceResponse struct { LastPrice string `json:"lastPrice"` YesterdayPrice string `json:"yesterdayPrice"` @@ -19,6 +20,7 @@ type XeggexPriceResponse struct { MarketCap float64 `json:"marketcapNumber"` } +//nolint:tagliatelle // External dependency type AzbitPriceResponse struct { Timestamp int `json:"timestamp"` CurrencyPairCode string `json:"currencyPairCode"` diff --git a/pkg/utils/ip.go b/pkg/utils/ip.go index c01498a..2715277 100644 --- a/pkg/utils/ip.go +++ b/pkg/utils/ip.go @@ -8,6 +8,7 @@ import ( "strings" ) +//nolint:tagliatelle // External dependency type GeoIP struct { CountryName string `json:"country"` RegionName string `json:"regionName"`