sqlcmdlinter

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedImports = map[string][]string{
	`"github.com/golang-sql/sqlexp`:    {`pkg/sqlcmd`},
	`"github.com/google/uuid`:          {},
	`"github.com/peterh/liner`:         {`pkg/console`},
	`"github.com/microsoft/go-mssqldb`: {},
	`"github.com/microsoft/go-sqlcmd`:  {},
	`"github.com/spf13/cobra`:          {`cmd/sqlcmd`, `cmd/modern`},
	`"github.com/spf13/pflag`:          {`cmd/sqlcmd`, `cmd/modern`},
	`"github.com/spf13/viper`:          {`cmd/sqlcmd`, `cmd/modern`},
	`"github.com/stretchr/testify`:     {},
}
View Source
var AssertAnalyzer = &analysis.Analyzer{
	Name:     "assertlint",
	Doc:      "Require use of asserts instead of fmt.Error functions in tests",
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      runAsserts,
}
View Source
var ImportsAnalyzer = &analysis.Analyzer{
	Name:     "importslint",
	Doc:      "Require most external packages be imported only by internal packages",
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      runImports,
}

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