mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-20 08:31:18 +01:00
The imports in "_gen.go" were not used, compiled, or apparently useful so remove. The color field in the ErrorFormatter was never set to true and never used. This brought in many unused dependencies including x/sys/unix that aren't ever used. Move the color dependencies to the jsonnet main package and set the colorized output there. Turn the exported ErrorFormatter into an interface. In the future it could be used to export JSON or HTML output. Fixes google/go-jsonnet#131