We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88337a6 commit b3faf1eCopy full SHA for b3faf1e
README.md
@@ -1,4 +1,4 @@
1
-json-to-go
+JSON-to-Go
2
==========
3
4
-Translates JSON into a Go type definition
+Translates JSON into a Go type definition. [See it in action.](http://mholt.github.io/json-to-go)
json-to-go.js
@@ -6,13 +6,13 @@
6
7
A simple utility to translate JSON into a Go type definition.
8
*/
9
-
+
10
function jsonToGo(json, typename)
11
{
12
var data;
13
var scope;
14
var go = "";
15
- tabs = 0;
+ var tabs = 0;
16
17
try
18
0 commit comments