Documentation
¶
Index ¶
Constants ¶
View Source
const C = "\"C\""
Variables ¶
This section is empty.
Functions ¶
func IsGeneratedFileByComment ¶
IsGeneratedFileByComment reports whether the source file is generated code. Using a bit laxer rules than https://golang.org/s/generatedcode to match more generated code. Taken from https://github.com/golangci/golangci-lint.
Types ¶
type GciImports ¶
type ImportList ¶
type ImportList []*GciImports
func (ImportList) Len ¶
func (l ImportList) Len() int
func (ImportList) Less ¶
func (l ImportList) Less(i, j int) bool
func (ImportList) Swap ¶
func (l ImportList) Swap(i, j int)
type NoImportError ¶
type NoImportError struct{}
func (NoImportError) Error ¶
func (n NoImportError) Error() string
func (NoImportError) Is ¶
func (i NoImportError) Is(err error) bool
Click to show internal directories.
Click to hide internal directories.