This commit is contained in:
chrislu committed 2024-05-03 21:27:06 -07:00
1 parent 7a9b115cc2
commit 30f8600a24
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ type Schema struct {
}
func NewSchema(recordType *schema_pb.RecordType) (*Schema, error) {
var fieldMap map[string]*schema_pb.Field
fieldMap := make( map[string]*schema_pb.Field)
for _, field := range recordType.Fields {
fieldMap[field.Name] = field
}