tools: golang.org/x/tools/go/analysis/passes/sortslice Index | Files

package sortslice

import "golang.org/x/tools/go/analysis/passes/sortslice"

Package sortslice defines an Analyzer that checks for calls to sort.Slice that do not use a slice type as first argument.

Index

Package Files

analyzer.go

Constants

const Doc = "" /* 164 byte string literal not displayed */

Variables

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

Package sortslice imports 9 packages (graph) and is imported by 5 packages. Updated 2019-11-21. Refresh now. Tools for package owners.