Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuffixGO = ".go" SuffixC = ".c" SuffixCPP = ".cpp" SuffixCXX = ".cxx" SuffixH = ".h" SuffixHPP = ".hpp" SuffixJAVA = ".java" SuffixJS = ".js" SuffixTS = ".ts" SuffixTSX = ".tsx" )
the supported file extensions
View Source
const Version = "1.9.2"
Version store the version as string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Liccor ¶
type Liccor struct { Log verbose.Verbose Source []string NoticeBeforeText string NoticeAfterText string // contains filtered or unexported fields }
Liccor the license corrector
func (*Liccor) FindSrcFiles ¶
FindSrcFiles search for source files
func (*Liccor) HasLicense ¶
HasLicense check if sourcecode has a license at the top
func (*Liccor) LoadConfig ¶
Load liccor file search for a license file
Click to show internal directories.
Click to hide internal directories.