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 4a5fe85 commit c9aecc2Copy full SHA for c9aecc2
web/src/editor/props.ts
@@ -5,7 +5,9 @@ export const LANGUAGE_GOLANG = 'go';
5
6
export const DEMO_CODE = [
7
'package main\n',
8
- 'import "fmt"\n',
+ 'import (',
9
+ '\t"fmt"',
10
+ ')',
11
'func main() {',
12
'\tfmt.Println("Hello World")',
13
'}\n'
@@ -34,4 +36,4 @@ export const stateToOptions = (state: MonacoSettings): monaco.editor.IEditorOpti
34
36
minimap: {enabled: state.minimap},
35
37
contextmenu: contextMenu,
38
};
-};
39
+};
0 commit comments