ArrayType return the type of the array.
()
| 337 | |
| 338 | // ArrayType return the type of the array. |
| 339 | func (ft *FieldType) ArrayType() *FieldType { |
| 340 | if !ft.array { |
| 341 | return ft |
| 342 | } |
| 343 | clone := ft.Clone() |
| 344 | clone.SetArray(false) |
| 345 | return clone |
| 346 | } |
| 347 | |
| 348 | // SetElemWithIsBinaryLit sets the element of the FieldType. |
| 349 | func (ft *FieldType) SetElemWithIsBinaryLit(idx int, element string, isBinaryLit bool) { |
no test coverage detected