diff --git a/frontend/index.js b/frontend/index.js index e5c45ef..87d25c8 100644 --- a/frontend/index.js +++ b/frontend/index.js @@ -67,7 +67,7 @@ $(document).ready(function(){ ' name: cluster\n' + ' namespace: test-ns\n') - go.setValue('// Yaml2Go'+ + go.setValue('// Yaml2Go\n'+ 'type Yaml2Go struct {\n' + ' Kind string `yaml:"kind"`\n' + ' Metadata Metadata `yaml:"metadata"`\n' + @@ -83,4 +83,4 @@ $(document).ready(function(){ function displayError(err){ document.getElementById("err-span").innerHTML=err; document.getElementById("error").style.display="block" -} \ No newline at end of file +}