namedresult

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filepass

func Filepass(c *Config, p *analysis.Pass, f *ast.File) error

Types

type Config

type Config struct {
	RequireNamed   bool // Require the use of named function result parameters only
	RequireUnnamed bool // Require the use of unnamed function result parameters only
}

type Func

type Func struct {
	Type *ast.FuncType
}

Jump to

Keyboard shortcuts

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