mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-10 16:55:40 +00:00
18 lines
318 B
Go
18 lines
318 B
Go
package yqlib
|
|
|
|
type LuaPreferences struct {
|
|
DocPrefix string
|
|
DocSuffix string
|
|
UnquotedKeys bool
|
|
}
|
|
|
|
func NewDefaultLuaPreferences() LuaPreferences {
|
|
return LuaPreferences{
|
|
DocPrefix: "return ",
|
|
DocSuffix: ";\n",
|
|
UnquotedKeys: false,
|
|
}
|
|
}
|
|
|
|
var ConfiguredLuaPreferences = NewDefaultLuaPreferences()
|