package analysis

import "github.com/Diarkis/diarkis/analysis"

Index

Constants

const RegexpVerbs = `\%[0 #+-]?[0-9*]*\.?\d*([hl]{0,2}|[jztL])?[vTtbcdoOqxXUbeEfFgGsqpw%]`

RegexpVerbs is a string of the of the regexp for format verbs in golang

Functions

func GetPackageAliases

func GetPackageAliases(pass *analysis.Pass, importPath string) map[string]struct{}

GetPackageAliases returns a map of aliases for a given import path used in a Go package.

Parameters:

Returns:

Directories

passes/cmdcheck Package cmdcheck defines an analyzer that detects duplicate usage of unique Diarkis server command codes.
passes/errorcheck Package errorcheck defines an analyzer that detects misuse of the Diarkis util package error functions
passes/handlecmd Package handlecmd defines analyzer that detects usages of mesh.Handle_ which do not begin with the prefix "handle"
passes/logfcheck Package logfcheck defines an analyzer that detects incorrectly formatted input within log write usages of Diarkis log.
passes/synccheck Package synccheck defines an analyzer that detects incorrectly defined sync types within the Diarkis code base
passes/tdtransportcheck Package tdtransportcheck defines an analyzer that detects incorrect usage of the methods of diarkis tdtransport package per definitions
passes/testcheck Package testcheck defines an analyzer that detects incorrect usage of ts.Async within ts.OnEnd
unitchecker