File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1018,7 +1018,7 @@ func NullValue(t Type) *nullValue {
10181018
10191019type optionalValue struct {
10201020 innerType Type
1021- v Value
1021+ value Value
10221022}
10231023
10241024func (v * optionalValue ) toString (buffer * bytes.Buffer ) {
@@ -1042,12 +1042,12 @@ func (v *optionalValue) Type() Type {
10421042func (v * optionalValue ) toYDB (a * allocator.Allocator ) * Ydb.Value {
10431043 vvv := a .Value ()
10441044
1045- if _ , opt := v .v .(* optionalValue ); opt {
1045+ if _ , opt := v .value .(* optionalValue ); opt {
10461046 vv := a .Nested ()
1047- vv .NestedValue = v .v .toYDB (a )
1047+ vv .NestedValue = v .value .toYDB (a )
10481048 vvv .Value = vv
10491049 } else {
1050- vvv .Value = v .v .toYDB (a ).Value
1050+ vvv .Value = v .value .toYDB (a ).Value
10511051 }
10521052
10531053 return vvv
@@ -1056,7 +1056,7 @@ func (v *optionalValue) toYDB(a *allocator.Allocator) *Ydb.Value {
10561056func OptionalValue (v Value ) * optionalValue {
10571057 return & optionalValue {
10581058 innerType : Optional (v .Type ()),
1059- v : v ,
1059+ value : v ,
10601060 }
10611061}
10621062
You can’t perform that action at this time.
0 commit comments