gola
is a ORM for go utilizing generic with unique design goals.
go test
command will:
- Use
testdata
sql to create tables on the fly - Do code generation for tables
- Compare with
testdata/*.go
- Report error if file not matching
Use go test -update
, if template is changed, and want to update testdata/*.go
- CURD
- Insert
- Update
- Delete
- Connection Pool
- Default & per struct connstr
- Safety
- SQL escape
- parameterize
- code gen template
- struct
- index query methods
- index
- uniuqe index
- paging & order
- better primary key support
- Single Key types / names
- Composite key
- db types
- timestamp
- float
- enum
- set
- Remove sqlboiler dependency in code gen
- Project badges
- Tests
- Use sql to create table & insert testdata
- Performance test
- context support
- transaction support
- Non-generice version?
- zero reflect verison?
- Embed groupcache
- docs & docs & docs...