I am creating a simple sql
mapper that allows me to create sql mappings at run time because i have no idea how the database schema will be like.
consider the following struct:
type SqlColumn struct {
name string
columnType ? //int float etc...
}
what type should i use for the columnType
field?
the only way i could think of is to use strings or a const and handle the rest using reflection, am i on the right path?