Alvaro Lopez Espinosa
f3fec002f1
Change the name of the generated file
2018-02-06 12:17:13 +00:00
Steve Atkins
bd9938fa86
Remove autotrimprefix option; add basic tests for -trimprefix.
2018-02-05 16:48:43 -08:00
Steve Atkins
276f4081b1
Merge branch 'master' of git://github.com/alvaroloes/enumer
2018-02-05 15:45:41 -08:00
Álvaro López Espinosa
3ee8f07883
Merge pull request #25 from wlbr/master
...
Making the generated code golint "friendly".
2018-02-05 11:42:07 +00:00
Álvaro López Espinosa
7c891f48ad
Merge branch 'master' into master
2018-02-05 11:28:19 +00:00
Michael Wolber
5d97e5e788
Revert "Updated stringer.go to current version (2018/01)"
...
This reverts commit 95a15ae31e
.
2018-01-04 12:01:03 +01:00
Michael Wolber
95a15ae31e
Updated stringer.go to current version (2018/01)
2018-01-04 11:38:06 +01:00
Michael Wolber
aa50e29ee8
Added comment to generated ...String function. Removed usage of _ in identifiers.
2018-01-03 15:35:09 +01:00
Carl Sverre
e5b99fedb3
Maintain go 1.8 compat
2017-11-28 15:42:24 -08:00
Carl Sverre
7f992c627d
import from source
2017-11-28 15:31:38 -08:00
Pascal S. de Kloe
f1508650a2
Replace naming convention library. Eliminates transformer code.
2017-08-06 00:58:54 +02:00
Steve Atkins
51d23ad531
add -trimprefix and -autotrimprefix
2017-04-10 11:37:23 -07:00
achernov
432dffaa95
Add enum value string representation transformation feature
2017-02-01 10:01:12 +03:00
Jim Minter
86cfc17470
add yaml support
2016-12-20 12:57:15 +00:00
Álvaro
d3da35e3d0
Fixes and adds tests after merge
2016-10-26 16:59:55 +01:00
marco
af92007434
Merge remote-tracking branch 'upstream/master'
2016-10-20 13:42:25 +02: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
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
Á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
af7ef17caa
implemented Scanner and Valuer interface
2016-01-12 12:37:51 +01: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