Updated Go version

This commit is contained in:
Eduard Urbach 2025-02-14 16:46:36 +01:00
parent b065f56b8e
commit 3b6b87f223
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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)