Commit Graph

26 Commits

Author SHA1 Message Date
Daved
3699e12530 Added MarshalJSON and UnmarshalJSON comments to template to prevent
golint from complaining.
2015-04-23 09:30:11 -07:00
Daved
a9a20fa77c Corrected minor typo in last paragraph of package main comment. 2015-04-23 09:24:46 -07:00
Daved
003b2577f0 Corrected minor typo in second to last paragraph of readme. 2015-04-23 09:24:46 -07:00
Francesc Campoy
c80e0662c2 Merge pull request #5 from campoy/refactor
Add server
2015-02-04 13:45:11 +00:00
Francesc Campoy
081abb7721 added license comments 2015-02-04 13:44:42 +00:00
Francesc Campoy
07f271932b Merge branch 'refactor' of https://github.com/campoy/jsonenums into refactor 2015-02-04 13:42:12 +00:00
Francesc Campoy
a77ef8d8e5 Updated generated code in example 2015-02-04 13:40:08 +00:00
Francesc Campoy
dfe6af903e Improved generated code by defining map outside of function. 2015-02-04 13:38:28 +00:00
Francesc Campoy
40291a96dd Adding server for code generation 2015-02-04 13:30:07 +00:00
Francesc Campoy
0ab873adbf Merge pull request #4 from campoy/refactor
moving the parser to a reusable package
2015-02-04 13:20:24 +00:00
Francesc Campoy
3763fb8613 removed useless diff 2015-02-03 06:04:04 +00:00
Francesc Campoy
62c6805a74 moving the parser to a reusable package
Change-Id: Ic684b209c2179e357febdf48f068906058506500
2015-02-03 06:01:04 +00:00
Francesc Campoy
175ecc603a Merge pull request #2 from shurcooL/patch-1
README: Fix formatting by adding missing closing backtick.
2015-02-02 16:05:44 +00:00
Francesc Campoy
720371a4aa Merge pull request #3 from shurcooL/patch-3
README: Improve formatting by removing unneeded indent.
2015-02-02 16:04:55 +00:00
Dmitri Shuralyov
869bf3d2d3 README: Improve formatting by removing unneeded indent.
Since a fenced code block (three backticks) is already used, there's no need to indent code blocks. Either a fenced code block or an indent alone is enough.
Also use tabs instead of spaces in Go code to make it gofmt-compatible, and use Go syntax highlighting for Go code blocks.
Unlike 1e1ffecf4f148c30fb214feeb491c7de5fe54e56, only use Go syntax highlighting for complete Go code block, since GitHub renders it poorly for partial Go code.
2015-02-01 09:43:22 -08:00
Dmitri Shuralyov
718a04d0a6 README: Fix formatting by adding missing closing backtick. 2015-02-01 09:34:53 -08:00
Francesc Campoy
ae9812cb50 Added Google disclaimer 2015-02-01 16:05:25 +01:00
Francesc Campoy
0ef05ba2c2 Merge pull request #1 from campoy/initial
initial commit
2015-02-01 16:04:22 +01:00
Francesc Campoy
63815420d0 Update README.md 2015-02-01 09:37:31 +01:00
Francesc Campoy
90659514af corrected case of jsonenums 2015-01-31 12:23:24 +01:00
Francesc Campoy
5cd7ec204a support of decoding for Stringers 2015-01-31 12:21:55 +01:00
Francesc Campoy
a673e22384 improved the generated code by using maps and using existing String method if available 2015-01-31 11:09:02 +01:00
Francesc Campoy
3da4e90d43 Move the go:generate comments one line up to avoid documenting the type 2015-01-31 10:21:59 +01:00
Francesc Campoy
10933b856e added demo file 2015-01-29 17:00:50 +01:00
Francesc Campoy
66a9dd356f initial commit 2015-01-29 11:35:15 +01:00
Francesc Campoy
fb5644d041 Initial commit 2015-01-29 00:18:46 +01:00