Adding HCL no build directive

This commit is contained in:
Mike Farah
2025-12-07 19:29:38 +11:00
parent fa42080148
commit bd3a647650
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
}