Skip to content

Commit b3faf1e

Browse files
committed
Added var keyword and link in readme
1 parent 88337a6 commit b3faf1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
json-to-go
1+
JSON-to-Go
22
==========
33

4-
Translates JSON into a Go type definition
4+
Translates JSON into a Go type definition. [See it in action.](http://mholt.github.io/json-to-go)

json-to-go.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
77
A simple utility to translate JSON into a Go type definition.
88
*/
9-
9+
1010
function jsonToGo(json, typename)
1111
{
1212
var data;
1313
var scope;
1414
var go = "";
15-
tabs = 0;
15+
var tabs = 0;
1616

1717
try
1818
{

0 commit comments

Comments
 (0)