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.0
Published
May 25, 2021
Platform
js/wasm
Last checked
4 seconds ago

Tools for package owners.