From 519e82d4f94e2abb6fc6d0430b22ec2cf9a27b23 Mon Sep 17 00:00:00 2001 From: zhyChesterCheung Date: Mon, 20 Dec 2021 22:56:11 +0800 Subject: [PATCH] update wrong doc comment with attribute value --- attribute/value.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attribute/value.go b/attribute/value.go index 545bea50c9d..6ec5cb290df 100644 --- a/attribute/value.go +++ b/attribute/value.go @@ -187,7 +187,7 @@ func (v Value) AsFloat64() float64 { } // AsFloat64Slice returns the []float64 value. Make sure that the Value's type is -// INT64SLICE. +// FLOAT64SLICE. func (v Value) AsFloat64Slice() []float64 { if s, ok := v.slice.(*[]float64); ok { return *s @@ -202,7 +202,7 @@ func (v Value) AsString() string { } // AsStringSlice returns the []string value. Make sure that the Value's type is -// INT64SLICE. +// STRINGSLICE. func (v Value) AsStringSlice() []string { if s, ok := v.slice.(*[]string); ok { return *s