package main

import (
	"bufio"
	"flag"
	"log"
	"os"

	"gopkg.in/bfontaine/edn.v1"
)

func main() {
	flag.Parse()

	// buffered I/O makes my 55M-file benchmark go 3x times faster
	input := bufio.NewReader(os.Stdin)
	output := bufio.NewWriter(os.Stdout)

	// This takes ~5.8s on my 55M benchmark file
	err := edn.PPrintStream(output, input, &edn.PPrintOpts{})

	if err != nil {
		log.Fatal(err)
	}
}

package main

import (
	"bufio"
	"flag"
	"log"
	"os"

	"github.com/bfontaine/edn"
)

func main() {
	flag.Parse()

	// buffered I/O makes my 55M-file benchmark go 3x times faster
	input := bufio.NewReader(os.Stdin)
	output := bufio.NewWriter(os.Stdout)

	// This takes ~5.8s on my 55M benchmark file
	err := edn.PPrintStream(output, input, &edn.PPrintOpts{})

	if err != nil {
		log.Fatal(err)
	}
}

--- 
+++ 
@@ -6,7 +6,7 @@
 	"log"
 	"os"
 
-	"github.com/bfontaine/edn"
+	"gopkg.in/bfontaine/edn.v1"
 )
 
 func main() {
Use a released version of the edn fork
