From dd2163b6902ae7846524030367da240f116fda68 Mon Sep 17 00:00:00 2001 From: Vee Zhang Date: Tue, 13 Dec 2022 18:24:37 +0800 Subject: [PATCH] feat: add picker to pick value from record (#246) --- go.mod | 2 +- pkg/picker/picker.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 7ca22567..bd337ce6 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/vesoft-inc/nebula-go/v3 v3.0.0-20220425030225-cdb52399b40a gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v2 v2.4.0 - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v3 v3.0.1 ) go 1.13 diff --git a/pkg/picker/picker.go b/pkg/picker/picker.go index f1fd6431..92d69c9d 100644 --- a/pkg/picker/picker.go +++ b/pkg/picker/picker.go @@ -1,6 +1,9 @@ package picker -var _ Picker = ConverterPicker{} +var ( + _ Picker = ConverterPicker{} + _ Picker = NullablePickers(nil) +) type ( Picker interface {