Commit graph

65 commits

Author SHA1 Message Date
Aaron L
44cff02828 Correct main help output 2016-06-14 07:52:58 -07:00
Patrick O'brien
6ee58a6529 Fixed the same bugs I already fixed (again) 2016-06-14 22:58:46 +10:00
Aaron L
57e20dfd72 Fix some problems with viper setup.
- Fix error reporting throughout the executable side of the project.
2016-06-12 15:35:38 -07:00
Aaron L
e0f461014b Fix some configuration bits.
- Refix the panics that were occuring (almost all of them).
2016-06-12 12:08:34 -07:00
Aaron L
56234e37a1 Move main back to root folder.
- Change everything to package main.
- Make main a little more user friendly.
2016-06-12 11:19:23 -07:00
Aaron L
8757c8a184 Refactor entire project :D
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07: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
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
27cafdd2fb Finished most of the stripping 2016-03-28 01:03:14 +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
b5409c7332 Fixed assign defaultRun bug, fixed "all" order
* Organized files better
* More comments
2016-02-29 19:39:49 +10:00
Patrick O'brien
d945bc714d Fixed readme 2016-02-24 20:56:15 +10:00
Patrick O'brien
35380d6634 Added comments to all oustanding files
* Deleted unused test files
2016-02-24 19:17:58 +10:00
Patrick O'brien
bdcb196b9b Removed redundant error output 2016-02-24 16:34:19 +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