array builtins
Some checks failed
Build / build (push) Successful in 14m31s
Test / build (push) Failing after 17m13s

This commit is contained in:
Chuck Smith
2024-03-24 16:29:18 -04:00
parent 3c66b980e7
commit fea9fb9f64
13 changed files with 197 additions and 34 deletions

View File

@@ -75,6 +75,9 @@ func main() {
log.Fatal("no source file given to compile")
}
f, err := os.Open(args[0])
if err != nil {
log.Fatal(err)
}
defer f.Close()
b, err := io.ReadAll(f)