Updated Go version

This commit is contained in:
2025-02-14 16:46:36 +01:00
parent d589b02570
commit 88b3f468d1
9 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ func (s *Scanner) scanImport(file *fs.File, tokens token.List, i int) (int, erro
packageName := tokens[i].Text(file.Bytes)
if file.Imports == nil {
file.Imports = map[string]*fs.Import{}
file.Imports = make(map[string]*fs.Import, 4)
}
fullPath := filepath.Join(config.Library, packageName)