Versions in this module Expand all Collapse all v1 v1.0.0 May 6, 2024 Changes in this version + type FileResult struct + BlankLines int + CodeLines int + Comments int + Lines int + Path string + type LanguageResult struct + BlankLines int + CodeLines int + Comments int + Lines int + type Scanner struct + SupportedLanguages language.Languages + func NewScanner(languages language.Languages) *Scanner + func (sc *Scanner) Scan(files []analyzer.FileMetadata) ([]scanResult, error) + func (sc *Scanner) Summary(results []scanResult) *Summary + type Summary struct + Files []FileResult + FilesByLanguage map[string]int + Languages map[string]*LanguageResult + TotalBlankLines int + TotalCodeLines int + TotalComments int + TotalFiles int + TotalLines int