toolshonnef.co/go/tools/knowledge Index | Files

package knowledge

import "honnef.co/go/tools/knowledge"

Index

Constants

const (
	DeprecatedNeverUse    = -1
	DeprecatedUseNoLonger = -2
)

Variables

var StdlibDeprecations = map[string]Deprecation{ /* 117 elements not displayed */

}

Functions

func Arg

func Arg(name string) int

Types

type Deprecation

type Deprecation struct {
	DeprecatedSince           int
	AlternativeAvailableSince int
}

Source Files

arg.go deprecated.go

Version
v0.2.2
Published
Nov 11, 2021
Platform
windows/amd64
Last checked
13 seconds ago

Tools for package owners.