go-json/internal/encoder/vm/hack.go

10 lines
337 B
Go
Raw Permalink Normal View History

package vm
import (
// HACK: compile order
2021-05-31 21:09:47 +03:00
// `vm`, `vm_indent`, `vm_color`, `vm_color_indent` packages uses a lot of memory to compile,
// so forcibly make dependencies and avoid compiling in concurrent.
2021-05-31 21:09:47 +03:00
// dependency order: vm => vm_indent => vm_color => vm_color_indent
2021-05-31 19:25:05 +03:00
_ "github.com/goccy/go-json/internal/encoder/vm_indent"
)