documentfunctions

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Overview

Package documentfunctions implements a linter that forces you to document functions.

When you are dealing with code that requires multiple people to collaborate, your code is not going to be "immediately obvious based on the implementation". You need to document all functions that you make. This can help find untested invariants that can lead to customers having a bad time.

To disable this behavior, document your code.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "documentfunctions",
	Doc:  "Prevent the use of time.Sleep in test functions",
	Run:  run,
}

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