internal/datatype/datatypes.go
Method Datatype.String
has 55 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (dt Datatype) String() (s string) {
switch dt {
case Integer:
s = integer
case TinyInt:
Function FromString
has 55 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func FromString(in string) (dt Datatype, err error) {
switch strings.ToUpper(strings.Split(in, "(")[0]) {
case integer, sint:
dt = Integer
case bigint: