Commit Graph

129 Commits

Author SHA1 Message Date
marco af72d0db85 bug fix if string instead of []byte is returned from db (this is the
case for postgreSQL)
2016-10-21 15:20:44 +02:00
marco af92007434 Merge remote-tracking branch 'upstream/master' 2016-10-20 13:42:25 +02:00
Álvaro López Espinosa a3c44a7985 Merge pull request #4 from pdf/go15_plus_imports
Fix imports for Go 1.5+
2016-06-08 17:16:13 +01:00
Peter Fern 76567ab639 Fix imports for Go 1.5+
Particularly important for 1.6+, since the deprecated imports have been
removed entirely.  Fixed by syncing with upstream stringer (includes
some other minor fixes/modifications).
2016-06-03 23:40:00 +10:00
Alvaro Lopez Espinosa 986f3e9353 Changed the flag noJSON to json 2016-05-21 13:34:12 +01:00
marco 8bdc3a85b5 fixed importer 2016-04-09 01:30:49 +02:00
marco 3d7dacca3a fixed imports 2016-04-09 01:20:52 +02:00
marco 3e78fe69e0 handle database NULL values 2016-02-11 19:27:29 +01:00
marco 0978fe0e3d fixed bug: Scan used value receiver and not pointer 2016-02-09 13:14:00 +01:00
marco ef9a220565 implemented sql flag 2016-02-06 22:46:59 +01:00
marco cd583bfe41 Merge remote-tracking branch 'upstream/master' 2016-02-06 22:40:52 +01:00
marco 5ecab372f9 renamed method 2016-02-06 22:27:43 +01:00
marco 0a3314337f fixed bug: return error 2016-02-02 15:40:25 +01:00
Álvaro López Espinosa e9e87a4508 Fixed typo in README 2016-01-21 10:49:12 +00:00
Álvaro 8e90031b3d Added inspiring projects to readme 2016-01-20 23:18:14 +00:00
Álvaro e2f75033ac Fixed Readme 2016-01-20 23:15:57 +00:00
Álvaro 6764143423 Updated readme with the new JSON additions 2016-01-20 23:09:18 +00:00
Álvaro 8ff8ff6be4 Updated tests 2016-01-19 19:54:00 +00:00
Álvaro 06fa207af0 Added a new flag/feature to generate json marshaling methods 2016-01-19 19:39:33 +00:00
marco 9e56f9eb23 removed unnecessary params in function call 2016-01-13 11:50:18 +01:00
marco 42a5bdff6f fixed generated Scan method 2016-01-12 13:05:56 +01:00
marco af7ef17caa implemented Scanner and Valuer interface 2016-01-12 12:37:51 +01:00
alvaroloes a8751cee5a Updated README with syntax highlighting for Go snippets 2015-12-31 14:41:41 +00:00
alvaroloes ce36ee186f Updated README 2015-12-31 14:36:39 +00:00
alvaroloes 54304668d7 Move code out of the inner for loop as it only depend on the outer one 2015-12-31 14:03:36 +00:00
alvaroloes 04512eae0c Uncommented commented code by error 2015-12-29 13:48:01 +00:00
alvaroloes 791bddaf9e Fixed markdown format 2015-12-29 13:29:35 +00:00
alvaroloes 3e5724bd2a Added readme 2015-12-29 13:27:33 +00:00
alvaroloes 58c57e5d15 Added a method to the generated code to get the enum value from the string name. Fixed all tests. 2015-12-29 13:14:54 +00:00