Added build flag not to include toml

This commit is contained in:
Mike Farah 2023-03-16 13:12:05 +11:00
parent f01804db66
commit 61a4b1cc26
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//go:build !yq_notoml
package yqlib
import (

7
pkg/yqlib/no_toml.go Normal file
View File

@ -0,0 +1,7 @@
//go:build yq_notoml
package yqlib
func NewTomlDecoder() Decoder {
return nil
}