feat(bux-246): Added linters #7
Annotations
10 errors
lint:
logging/gin_loggers.go#L27
gin.LogFormatterParams is missing fields Request, TimeStamp, Keys (exhaustruct)
|
lint:
logging/logging.go#L21
zerolog.ConsoleWriter is missing fields NoColor, PartsOrder, PartsExclude, FieldsExclude, FormatTimestamp, FormatLevel, FormatCaller, FormatMessage, FormatFieldName, FormatFieldValue, FormatErrFieldName, FormatErrFieldValue, FormatExtra, FormatPrepare (exhaustruct)
|
lint:
metrics/collector.go#L20
prometheus.GaugeOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
|
lint:
metrics/collector.go#L32
prometheus.GaugeOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
|
lint:
metrics/collector.go#L45
prometheus.HistogramOpts is missing fields Namespace, Subsystem, ConstLabels, Buckets, NativeHistogramBucketFactor, NativeHistogramZeroThreshold, NativeHistogramMaxBucketNumber, NativeHistogramMinResetDuration, NativeHistogramMaxZeroThreshold (exhaustruct)
|
lint:
metrics/collector.go#L58
prometheus.CounterOpts is missing fields Namespace, Subsystem, ConstLabels (exhaustruct)
|
lint:
metrics/metrics.go#L37
promhttp.HandlerOpts is missing fields ErrorLog, ErrorHandling, DisableCompression, MaxRequestsInFlight, Timeout, EnableOpenMetrics, ProcessStartTime (exhaustruct)
|
lint:
metrics/request.go#L29
metrics.RequestTracker is missing field startTime (exhaustruct)
|
lint:
mappings/common/common.go#L29
engine.Model is missing field DeletedAt (exhaustruct)
|
lint:
mappings/paymail_address.go#L50
engine.PaymailP4 is missing field Format (exhaustruct)
|