loglinter

package module
v0.0.0-...-d0baa3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 3 Imported by: 0

README

loglinter

Simple Go logging linter, compatible with golangci-lint

  • To run unit tests execute make test
  • To get executable run make build - result would be custom-gcl.exe
  • To test golangci-lint integration on an example run make test-built
  • To change sensitive patterns alter golangci-lint configuration in .golangci.yml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(settings any) (register.LinterPlugin, error)

Types

type PluginLoglinter

type PluginLoglinter struct {
	// contains filtered or unexported fields
}

func (*PluginLoglinter) BuildAnalyzers

func (f *PluginLoglinter) BuildAnalyzers() ([]*analysis.Analyzer, error)

func (*PluginLoglinter) GetLoadMode

func (f *PluginLoglinter) GetLoadMode() string

type Settings

type Settings struct {
	SensitiveData []string `json:"sensitive_data"`
}

Directories

Path Synopsis
cmd
loglinter command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL