this's a golang library for mysql/postgresql/cockroachdb. it's easy to switch backend dbserver between mysql, postgresql and cockroachdb with little change in your golang code.
features:
- you should write SQL clause to talk to backend db server.
- data type binding between database and golang type. string, int, float, date, datetime, string[], int[], jsonb, etc.
- support transfer to default value if one db column is NULL