github.com/goccy/go-json@v0.10.3-0.20240509105655-5e2ae3f23c1d/internal/encoder/vm_indent/hack.go (about)

     1  package vm_indent
     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/goccy/go-json/internal/encoder/vm_color"
     9  )