gocheck

package
v0.0.0-...-7468400 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAll

func CheckAll(path string, h, w int) []*lexing.Error

CheckAll checks everything for a package.

func CheckLineComment

func CheckLineComment(
	fset *token.FileSet, files []*ast.File,
) []*lexing.Error

CheckLineComment checks the format of line comments.

func CheckRect

func CheckRect(files []string, h, w int) []*lexing.Error

CheckRect checks if all the files are within the given rectangle.

func DepGraph

func DepGraph(
	ctx *build.Context, path string, alias *gcimporter.AliasMap,
) (*dags.Graph, error)

DepGraph returns the dependency graph for files in a package.

func DepGraphPkg

func DepGraphPkg(
	ctx *build.Context, pkg *build.Package, alias *gcimporter.AliasMap,
) (*dags.Graph, error)

DepGraphPkg returns the dependency graph for files in a loaded package.

func ModCheckAll

func ModCheckAll(dir, pkg string, h, w int) []*lexing.Error

ModCheckAll performs all checks on the package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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