nobadfuncs

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintAllFuncRefs

func PrintAllFuncRefs(pkgs []string, dir string, w io.Writer) error

PrintAllFuncRefs prints all of the function references in the provided packages.

func PrintBadFuncRefs

func PrintBadFuncRefs(pkgs []string, sigs map[string]string, dir string, w io.Writer) error

PrintBadFuncRefs prints the "bad" function references (the function references that match those provided in sigs). Returns an error if the check fails or if any bad references are found.

Types

type FuncRef

type FuncRef string

FuncRef is a reference to a specific function. Matches the string representation of *types.Func, which is of the form "func (*net/http.Client).Do(req *net/http.Request) (*net/http.Response, error)".

Jump to

Keyboard shortcuts

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