startEnumsAtOne

package
v0.0.0-...-2d1bb3d Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "startenumsatone",
	Doc: "The standard way of introducing enumerations in Go is to declare a custom type and a const group with iota." +
		"Since variables have a 0 default value, you should usually start your enums on a non-zero value.",
	Run: run,
}

Analyzer for golang-linter

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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