<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.go')
-rw-r--r--main/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.go b/main/main.go
index 668253d..a506954 100644
--- a/main/main.go
+++ b/main/main.go
@@ -4,7 +4,7 @@ import (
"os"
"bufio"
"main/walk"
- "main/json_tokens"
+ "main/json_array"
)
type Program []Command
@@ -45,8 +45,8 @@ func main() {
stdout := bufio.NewWriter(os.Stdout)
state := ProgramState {
- in: json_tokens.NewJSONIn(stdin),
- out: json_tokens.NewJSONOut(stdout),
+ in: json_array.NewJSONArrayReader(stdin),
+ out: json_array.NewJSONArrayWriter(stdout),
program: program,
}