Commit Graph

12 Commits

Author SHA1 Message Date
Dan Markham 107292ddbc
resolve some conflicts 2019-04-04 17:57:54 -07:00
Dan Markham f8e96284fe
Merging in serjlee 2019-04-04 17:11:33 -07:00
amanbolat b0dd5b45a5
update to work with go modules 2019-04-04 15:57:51 -07:00
Xopherus 6ec30747dc Add whitespace-separated transformation 2019-02-12 12:35:47 -05:00
G.J.R. Timmer 42bd8ecbf7 Merge branch 'add-transformations' into 'master'
Add Transformers

See merge request go/enumer!2
2019-01-17 13:13:07 +01:00
Gert-Jan Timmer 78452a952a Add Transformers
- snake-upper
- kebab-upper
- lower (Lowercase)
- upper (Uppercase)
- title (TitleCase)
- first (Use first character of string)
- first-lower (same as first only lower case)
- first-upper (same as first only upper case)
2019-01-17 13:07:52 +01:00
Gert-Jan Timmer 16ae335f48 Fix End2End test for non-windows platforms
Binary name for string was hardcoded to `.exe`
2019-01-16 18:06:03 +01:00
Carl Sverre e5b99fedb3 Maintain go 1.8 compat 2017-11-28 15:42:24 -08:00
achernov 432dffaa95 Add enum value string representation transformation feature 2017-02-01 10:01:12 +03:00
Álvaro d3da35e3d0 Fixes and adds tests after merge 2016-10-26 16:59:55 +01:00
alvaroloes 04512eae0c Uncommented commented code by error 2015-12-29 13:48:01 +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