Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 1bfa590

Browse files
committed
frame: export UDT fields
1 parent fc7bb23 commit 1bfa590

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frame/buffer_read.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ func (b *Buffer) ReadUDTOption() *UDTOption {
356356
return &UDTOption{
357357
Keyspace: ks,
358358
Name: name,
359-
fieldNames: fn,
360-
fieldTypes: ft,
359+
FieldNames: fn,
360+
FieldTypes: ft,
361361
}
362362
}
363363

frame/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@ type SetOption struct {
384384
type UDTOption struct {
385385
Keyspace string
386386
Name string
387-
fieldNames []string
388-
fieldTypes []Option
387+
FieldNames []string
388+
FieldTypes []Option
389389
}
390390

391391
// https://github.com/apache/cassandra/blob/adcff3f630c0d07d1ba33bf23fcb11a6db1b9af1/doc/native_protocol_v4.spec#L655-L658

0 commit comments

Comments
 (0)