Skip to content

feat(bux-246): Added linters #7

feat(bux-246): Added linters

feat(bux-246): Added linters #7

Triggered via pull request March 29, 2024 09:40
Status Failure
Total duration 4m 13s
Artifacts

error-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)