Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVerifyImportsCommand ¶
NewVerifyImportsCommand adds a subcommand for verifying imports of a go file.
Types ¶
type VerifyImportsOptions ¶
type VerifyImportsOptions struct { GoFile string ConfigFile string Logger logger.FieldLogger }
VerifyImportsOptions contains the options for verifying go imports
func (*VerifyImportsOptions) VerifyImports ¶
func (o *VerifyImportsOptions) VerifyImports() error
VerifyImports verifies that the imports match the required convention.
Click to show internal directories.
Click to hide internal directories.