Remove default condition
This commit is contained in:
parent
f2a7336283
commit
3336bd0b3f
@ -97,8 +97,6 @@ func getPostgresType(goType string) (string, error) {
|
||||
return "timestamp", nil
|
||||
case "[]byte":
|
||||
return "bytea", nil
|
||||
default:
|
||||
return "text", nil
|
||||
}
|
||||
|
||||
return "", errors.New("Unknown type: " + goType)
|
||||
|
Loading…
Reference in New Issue
Block a user