Adding HCL no build directive

This commit is contained in:
Mike Farah
2025-12-08 20:30:47 +11:00
parent c75a2fad86
commit b4d8131197
7 changed files with 19 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
//go:build !yq_nohcl
package yqlib
import (
+2
View File
@@ -1,3 +1,5 @@
//go:build !yq_nohcl
package yqlib
import (
+11
View File
@@ -0,0 +1,11 @@
//go:build yq_nohcl
package yqlib
func NewHclDecoder() Decoder {
return nil
}
func NewHclEncoder() Encoder {
return nil
}