rule

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package rule defines utility functions some revive rules can share.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name(name string, allowlist, blocklist []string, skipInitialismNameChecks bool) (should string)

Name returns a different name of struct, var, const, or function if it should be different.

Types

This section is empty.

Jump to

Keyboard shortcuts

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