- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 491 for analyzers (0.13 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go
var Analyzer = &analysis.Analyzer{ Name: "shift", Doc: Doc, URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/shift", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } func run(pass *analysis.Pass) (interface{}, error) { inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/doc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package unreachable defines an Analyzer that checks for unreachable code. // // # Analyzer unreachable // // unreachable: check for unreachable code // // The unreachable analyzer finds statements that execution can never reach // because they are preceded by an return statement, a call to panic, an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 525 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go
have false positives, for example if fields or methods are accessed through a type alias that is guarded by a Go version constraint. ` var Analyzer = &analysis.Analyzer{ Name: "stdversion", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/stdversion", RunDespiteErrors: true, Run: run, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/defers/doc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package defers defines an Analyzer that checks for common mistakes in defer // statements. // // # Analyzer defers // // defers: report common mistakes in defer statements // // The defers analyzer reports a diagnostic when a defer statement would // result in a non-deferred call to time.Since, as experience has shown
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 20:06:48 UTC 2023 - 763 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go
//go:embed doc.go var doc string var Analyzer = &analysis.Analyzer{ Name: "assign", Doc: analysisutil.MustExtractDoc(doc, "assign"), URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/assign", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } func run(pass *analysis.Pass) (interface{}, error) { inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/doc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package unusedresult defines an analyzer that checks for unused // results of calls to certain pure functions. // // # Analyzer unusedresult // // unusedresult: check for unused results of calls to some functions // // Some functions like fmt.Errorf return a result and have no side
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 793 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/sigchanyzer.go
) //go:embed doc.go var doc string // Analyzer describes sigchanyzer analysis function detector. var Analyzer = &analysis.Analyzer{ Name: "sigchanyzer", Doc: analysisutil.MustExtractDoc(doc, "sigchanyzer"), URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/sigchanyzer", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/url.go
package analysisflags import ( "fmt" "net/url" "golang.org/x/tools/go/analysis" ) // ResolveURL resolves the URL field for a Diagnostic from an Analyzer // and returns the URL. See Diagnostic.URL for details. func ResolveURL(a *analysis.Analyzer, d analysis.Diagnostic) (string, error) { if d.URL == "" && d.Category == "" && a.URL == "" { return "", nil // do nothing } raw := d.URL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 901 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go
"golang.org/x/tools/internal/typeparams" ) //go:embed doc.go var doc string var Analyzer = &analysis.Analyzer{ Name: "ifaceassert", Doc: analysisutil.MustExtractDoc(doc, "ifaceassert"), URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/ifaceassert", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } // assertableTo checks whether interface v can be asserted into t. It returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/nilfunc/doc.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package nilfunc defines an Analyzer that checks for useless // comparisons against nil. // // # Analyzer nilfunc // // nilfunc: check for useless comparisons between functions and nil // // A useless comparison is one like f == nil as opposed to f() == nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 437 bytes - Viewed (0)