readability

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectFiles

func CollectFiles(paths []string, includeHidden bool, exclude []string) ([]string, error)

func IsGenerated

func IsGenerated(src []byte) bool

Types

type Issue

type Issue struct {
	File    string
	Line    int
	Rule    string
	Message string
	Fixable bool
}

func Rewrite

func Rewrite(path string, src []byte) ([]byte, []Issue, error)

func RewriteFile

func RewriteFile(path string) ([]Issue, error)

Jump to

Keyboard shortcuts

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