Patrick O'brien
8cb58511a0
Finish Find template tests
...
* Add reflect import to template tests
2016-06-10 18:53:15 +10:00
Patrick O'brien
7aba7104a5
Fix null package imports, finish Bind
...
* Fix randomizeStruct time randomization
* Defer close sql.Rows
* Begin Delete test template
2016-06-08 15:45:34 +10:00
Patrick O'brien
a20574110c
Added SortByKeys to insert
2016-06-07 17:08:00 +10:00
Patrick O'brien
37a333f6ff
Added SortByKeys
...
* Fixed slice allocations in strmangle helpers
* Removed duplicate commaList function
2016-06-07 16:21:00 +10:00
Patrick O'brien
3152eed170
Added debug mode, test singles
...
* Where statement OR/AND support
* Added null-extended library to use different data types
* Added disable triggers function for test main
2016-06-03 07:07:51 +10:00
Patrick O'brien
c2541ea56e
Begun implementing all tests
...
* Added randomizeStruct
* Added under development warning to readme
* Restructured the reflection stuff a bit
* Added a testmangle.go file for template test functions
2016-05-17 20:00:56 +10:00
Patrick O'brien
8f3ff66339
Finished insert and update, added UpdateAt
2016-05-06 19:31:51 +10:00
Patrick O'brien
92e2608a1b
Finished Update and UpdateX (needs make and copy)
...
* Added test for camelCaseCommaList
* Added function signature for UpdateAt and UpdateAtX
* Moved column type slices to helpers.tpl
2016-05-05 19:01:24 +10:00
Patrick O'brien
f059bdebf4
Finished insert template
...
* Removed functions in helpers not being used
2016-05-02 16:34:25 +10:00
Patrick O'brien
c17e48c14a
Moved template functions to strmangle package
...
* Finished Find and FindX
2016-04-25 11:43:09 +10:00
Patrick O'brien
9c493810ec
Finished most of delete functions
...
* Fixed some template errors
* Added IN helpers
2016-04-23 21:54:24 +10:00
Patrick O'brien
dc50c0d42c
Made qs package, added single templates support
2016-04-19 12:02:32 +10:00
Patrick O'brien
d89d23e673
Began implementing the ORM prototype
...
* Hooks, query mods, and query
* Update and UpdateX
2016-04-13 23:51:58 +10:00
Patrick O'brien
d949f68ed0
Finished postgres TestMain template
2016-04-09 09:45:44 +10:00
Patrick O'brien
d3aeb7375d
Added template sorter, MainTest separation
...
* Moved MainTests into a dedicated folder
* Added sorter for templates (sorts structs to top)
* Fixed all the broken tests
* Tidied up output.go functions
* Only creating one MainTest (main_test.go) per app run now
* Split test imports up into normal test imports & main test imports
2016-04-07 06:10:12 +10:00
Patrick O'brien
c84d35d394
Fixed compiler errors and broken tests
2016-04-04 20:28:58 +10:00
Patrick O'brien
a7263bde40
Changed cmddata receiver names to single letter
2016-04-03 16:21:45 +10:00
Patrick O'brien
f7a4ed0c54
Did more stripping, fixed broken things
...
* Fixed broken template
* Did some reorganizing
* Need to fix TestTemplates test
2016-03-28 18:17:41 +10:00
Patrick O'brien
27cafdd2fb
Finished most of the stripping
2016-03-28 01:03:14 +10:00
Patrick O'brien
c74ed4e75f
Added drivername, custom driver imports
...
* Split main test based off driver name
2016-03-26 17:08:27 +10:00
Patrick O'brien
3b0a5e80a1
Finished adding test template generation support
2016-03-21 15:15:14 +10:00
Patrick O'brien
e62b411547
Cleaned up config
2016-03-21 13:52:36 +10:00
Patrick O'brien
af1201e86e
Moved config init to main func & add config_test
...
* Split cfg object into testCfg and cfg
* Added tests for loading toml config from file
2016-03-21 01:57:25 +10:00
Patrick O'brien
e69573f68e
Added test details to config loading
2016-03-20 23:02:31 +10:00
Patrick O'brien
47c5be1038
Removed unused test files, added comments to cmds
...
* Added comments to all cmds files
* Removed unused test files
* Removed unimplemented command 'update'
2016-02-24 18:53:34 +10:00
Patrick O'brien
b43f9c63d8
Struct generation complete, pipes to stdout
...
* Database driver config & flag complete
* Table flag complete, will use all tables if non specified
2016-02-23 18:27:32 +10:00