Added a check for unused imports

This commit is contained in:
Eduard Urbach 2024-07-31 11:55:21 +02:00
parent 9ea99c97c4
commit 2d905c1ac0
Signed by: eduard
GPG key ID: 49226B848C78F6C8
14 changed files with 138 additions and 31 deletions

View file

@ -4,10 +4,12 @@ import (
"sync"
"git.akyoto.dev/cli/q/src/build/core"
"git.akyoto.dev/cli/q/src/build/fs"
)
// Scanner is used to scan files before the actual compilation step.
type Scanner struct {
files chan *fs.File
functions chan *core.Function
errors chan error
queued sync.Map