Fixed issue with collection types in udt. empty type colums skiped. Added test for udt.
This commit is contained in:
committed by
Michal Jan Matczuk
parent
a62ba24cf9
commit
fc92258512
@@ -75,7 +75,7 @@ func renderTemplate(md *gocql.KeyspaceMetadata) ([]byte, error) {
|
||||
New("keyspace.tmpl").
|
||||
Funcs(template.FuncMap{"camelize": camelize}).
|
||||
Funcs(template.FuncMap{"mapScyllaToGoType": mapScyllaToGoType}).
|
||||
Funcs(template.FuncMap{"getNativeTypeSting": getNativeTypeSting}).
|
||||
Funcs(template.FuncMap{"typeToString": typeToString}).
|
||||
Parse(keyspaceTmpl)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user