2
0

Rename CloneTypeValue to NewTypeValue

This commit is contained in:
Jack Christensen
2020-05-12 10:26:51 -05:00
parent bff2829b0f
commit 682201a4fc
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func NewArrayType(typeName string, newElement func() ValueTranscoder) *ArrayType
return &ArrayType{typeName: typeName, newElement: newElement}
}
func (at *ArrayType) CloneTypeValue() Value {
func (at *ArrayType) NewTypeValue() Value {
return &ArrayType{
elements: at.elements,
dimensions: at.dimensions,