Fix schemagen and test generated code
This commit is contained in:
committed by
Sylwia Szunejko
parent
fcd76082db
commit
653faf1e03
@@ -41,6 +41,7 @@ var (
|
||||
{{- $type_name := .Name | camelize}}
|
||||
{{- $field_types := .FieldTypes}}
|
||||
type {{$type_name}}UserType struct {
|
||||
gocqlx.UDT
|
||||
{{- range $index, $element := .FieldNames}}
|
||||
{{. | camelize}} {{(index $field_types $index) | mapScyllaToGoType}}
|
||||
{{- end}}
|
||||
|
||||
Reference in New Issue
Block a user