diff --git a/pkg/yqlib/decoder_toml.go b/pkg/yqlib/decoder_toml.go index 4f216fc4..166089ce 100644 --- a/pkg/yqlib/decoder_toml.go +++ b/pkg/yqlib/decoder_toml.go @@ -1,3 +1,5 @@ +//go:build !yq_notoml + package yqlib import ( diff --git a/pkg/yqlib/no_toml.go b/pkg/yqlib/no_toml.go new file mode 100644 index 00000000..3067dae8 --- /dev/null +++ b/pkg/yqlib/no_toml.go @@ -0,0 +1,7 @@ +//go:build yq_notoml + +package yqlib + +func NewTomlDecoder() Decoder { + return nil +}