hostport

package
v0.18.0-pre.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package hostport defines an analyzer for calls to net.Dial with addresses of the form "%s:%d" or "%s:%s", which work only with IPv4.

Index

Constants

View Source
const Doc = `` /* 559-byte string literal not displayed */

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "hostport",
	Doc:      Doc,
	URL:      "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/hostport",
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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