Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
123456789101112131415161718192021package scanner
import "os"
// queue scans the list of files.func (s *scanner) queue(files ...string) { for _, file := range files { stat, err := os.Stat(file)
if err != nil { s.items <- err return }
if stat.IsDir() { s.queueDirectory(file, "main") } else { s.queueFile(file, "main") } }}