fourcetypeassert

package module
v0.0.0-...-7129cbf Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 4 Imported by: 0

README

fourcetypeassert

godoc.org

fourcetypeassert finds type assertions which did forcely such as below.

func f() {
	var a interface{}
	_ = a.(int) // type assertion must be checked
}

Documentation

Index

Constants

View Source
const Doc = "fourcetypeassert is ..."

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "fourcetypeassert",
	Doc:  Doc,
	Run:  run,
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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