Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 786 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 786 Bytes

crud2

crud2 is a drop-in replacement for crud that uses code generation instead of reflection to retrieve type metadata to make interaction with SQL databases easier. The crudgen utility parses all Go files in the current directory and extends their functionality to implement the FieldEnumerator and FieldBinder interfaces.

As an added bonus, crud2 also supports an extensible layer for supporting different SQL markups (whereas the original crud didn't work on PostgreSQL).

Some of the original features are currently missing:

  • ScanAll is not optimized to use Cloner yet.
  • ,unix times are neither handled nor parsed correctly.
  • The documentation needs work.

These features will be forthcoming as they become required.