From 81885dec63d54a5c6220c63aaee1e1850abbf6ea Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 16 Jan 2024 15:11:53 -0500 Subject: [PATCH] engine: resources: Add some spacing --- engine/resources/kv.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/resources/kv.go b/engine/resources/kv.go index dd474f5e..532597ec 100644 --- a/engine/resources/kv.go +++ b/engine/resources/kv.go @@ -67,11 +67,14 @@ type KVRes struct { // Key represents the key to set. If it is not specified, the Name value // is used instead. Key string `lang:"key" yaml:"key"` + // Value represents the string value to set. If this value is nil or, // undefined, then this will delete that key. Value *string `lang:"value" yaml:"value"` + // SkipLessThan causes the value to be updated as long as it is greater. SkipLessThan bool `lang:"skiplessthan" yaml:"skiplessthan"` + // SkipCmpStyle is the type of compare function used when determining if // the value is greater when using the SkipLessThan parameter. SkipCmpStyle KVResSkipCmpStyle `lang:"skipcmpstyle" yaml:"skipcmpstyle"`