gokeyword

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

README

Tests

gokeyword

A static analysis tool for finding the go keyword in source code. It was designed to be included in golangci-lint

Purpose

The motivation for this linter is to detect usages of the go keyword in web servers etc where its direct usage inside a request handler can be an anti-pattern: any panics will cause the whole process to crash.

Documentation

Index

Constants

View Source
const (
	FlagDetails = "details"
)

Variables

This section is empty.

Functions

func New

func New() *analysis.Analyzer

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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