feat: update configuration and remove dead codes #60
Annotations
6 errors
lint:
internal/client/client.go#L47
Function 'New' is too long (68 > 60) (funlen)
|
lint:
internal/client/metric.go#L91
prometheus.HistogramOpts is missing fields NativeHistogramBucketFactor, NativeHistogramZeroThreshold, NativeHistogramMaxBucketNumber, NativeHistogramMinResetDuration, NativeHistogramMaxZeroThreshold (exhaustruct)
|
lint:
internal/telemetry/metric/server.go#L38
http.Server is missing fields DisableGeneralOptionsHandler, ReadHeaderTimeout, MaxHeaderBytes, TLSNextProto, ConnState, ErrorLog, BaseContext, ConnContext (exhaustruct)
|
lint:
internal/cmd/root.go#L27
cobra.Command is missing fields Aliases, SuggestFor, GroupID, Long, Example, ValidArgs, ValidArgsFunction, Args, ArgAliases, BashCompletionFunction, Deprecated, Annotations, Version, PersistentPreRun, PersistentPreRunE, PreRun, PreRunE, RunE, PostRun, PostRunE, PersistentPostRun, PersistentPostRunE, FParseErrWhitelist, CompletionOptions, TraverseChildren, Hidden, SilenceErrors, SilenceUsage, DisableFlagParsing, DisableAutoGenTag, DisableFlagsInUseLine, DisableSuggestions, SuggestionsMinimumDistance (exhaustruct)
|
lint:
internal/client/config.go#L7
`Config` should be annotated with the `json` tag as it is passed to `json.MarshalIndent` at internal/config/config.go:63:17 (musttag)
|
lint
issues found
|