github.com/grbit/go-json@v0.11.0/internal/encoder/vm/hack.go (about)

     1  package vm
     2  
     3  import (
     4  	// HACK: compile order
     5  	// `vm`, `vm_indent`, `vm_color`, `vm_color_indent` packages uses a lot of memory to compile,
     6  	// so forcibly make dependencies and avoid compiling in concurrent.
     7  	// dependency order: vm => vm_indent => vm_color => vm_color_indent
     8  	_ "github.com/grbit/go-json/internal/encoder/vm_indent"
     9  )